Download & installation (Linux)

中文/English

=================================

(Linux) FonSimEM download:

=================================

2020/02/01 Version 2.20 - 3D CAD

------------------------------------------------------------

MPI & GPU-Version - Need to have Cuda 8.0 Nvidia GPU card, recommend above Geforce 1060

The necessary libraries

*Matlab-MCR 2018a

*MPICH2- parallel library

*CUDA Toolkit GPU


FonSinEM_X64_V2.12_Linux_ACC.zip

download 64 bit :

Google drive link

https://drive.google.com/open?id=1CzrTIjCBeccR1sH7nA8zxqeFCW-dY2VX

Mega link

https://mega.nz/#F!H1F20SzJ!AB7pBiQLGfdPa7XHSoh7JA



------------------------------------------------------------

MPI-Version -without Nvidia GPU Card download this

The necessary libraries

*Matlab-MCR 2018a

*MPICH2- parallel library


FonSinEM_X64_V2.12_Linux_ACC.zip

download 64 bit :

Google drive link

https://drive.google.com/open?id=1H8w-PhEddtSq5sdvVLBk38BO-jw-VG3w

Mega link

https://mega.nz/#F!H1F20SzJ!AB7pBiQLGfdPa7XHSoh7JA



FonSinEM_X64_V2.20_Linux.zip

(The simulation results format restructured, incompatible with older version)

download 64 bit :

Google drive link

https://drive.google.com/open?id=1IbNZYHjzfcd3Z9kBAY9O0rli6V8E7ofH

Mega link

https://mega.nz/#!299EVCjZ!lmegq0lY_QpWbFhW4AlyBtzhLcNItlujGPn94m438QA






-------------- older version ----------

Google drive link

https://drive.google.com/drive/folders/1Z6m8tPIyUVsF_pclucC1DmkHl7PjBkAa



example command:

mpiexec - n 8 FonSinEM_*.exe //8 means parallel cut number


================================

V 2.x (Linux) install instruction

================================

------------------------------------

Install MCR 2018a

------------------------------------

1. go to http://www.mathworks.com/products/compiler/mcr/ download link version R2018a (9.4) 64-bit

R2018a (9.4)

64-bit

2.Install MCR_R2018a_glnxa64_installer.zip

3.run > ./install

the default path /usr/local/ ,if you want to install at another path, modify the "run_FonSinEM.sh " file

run_FonSinEM.sh contents,/usr/local/ means the install path

./FonSinEM.sh $LD_LIBRARY_PATH:$/usr/local/MATLAB/MATLAB_Runtime/v94/bin/glnxa64:/usr/local/MATLAB/MATLAB_Runtime/v94/runtime/glnxa64:/usr/local/MATLAB/MATLAB_Runtime/v94/bin/glnxa64:/usr/local/MATLAB/MATLAB_Runtime/v94/sys/os/glnxa64:/usr/local/MATLAB/MATLAB_Runtime/v94/sys/java/jre/glnxa64/jre/lib/amd64/native_threads:/usr/local/MATLAB/MATLAB_Runtime/v94/sys/java/jre/glnxa64/jre/lib/amd64/server:/usr/local/MATLAB/MATLAB_Runtime/v94/sys/java/jre/glnxa64/jre/lib/amd64

5. run >

./run_FonSinEM_3DCAD_V2.x_R2018a.sh



if success


------------------------------------------

Install parallel library MPICH2

------------------------------------------

first install mpich2 1.41p1,

web-link: http://www.mpich.org/static/downloads/1.4.1p1/

simply MPICH2 64 bit: hydra-1.4.1p1.tar.gz

full MPICH2 64 bit:mpich2-1.4.1p1.tar.gz


Here we can choice the simply MPICH2 library

Example : Ubuntu

1. extract: dydra-1.4.1p1.tar.gz

2. install MPICH2

./configure -prefix=/home/<USERNAME>/mpich2

3. make

4. make install

5. add path (.bashrc for bash or /etc/profile):

PATH=/home/<USERNAME>/mpich2/bin:$PATH ; export PATH

6. check if success:

which mpiexec

Linux bash example :

cd case1
chmod 777 FonSinEM_FDTD.out
mpiexec -f machinefile -n 4 ./FonSinEM_FDTD.out > out.txt &
wait %mpiexec
cd ..

cd case2
chmod 777 FonSinEM_SFM.out
mpiexec -f machinefile -n 4 ./FonSinEM_SFM.out > out.txt &
wait %mpiexec
cd ..

the machinefile concept is localhost.localdomain:4

then run >> nohup sh run.sh > out.txt &


------------------------------------------

Install GPU CUDA library

------------------------------------------

CUDA Toolkit V 9.0


https://developer.nvidia.com/cuda-downloads?target_os=Linux&target_arch=x86_64&target_distro=Ubuntu&target_version=1704&target_type=runfilelocal