Download & installation (Windows)

中文/English

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

(Windows) FonSimEM download:

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

2020/02/01 Version 2.20 - 3D CAD

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

MPI & GPU-Version - Need to have above 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_Win_ACC.zip

download 64 bit :

Google drive link

https://drive.google.com/open?id=17AUB2evkbSp3VWX5_8vG4Mcg2OFHSstG

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_Win.zip

download 64 bit :

Google drive link

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

Mega link

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




FonSinEM_X64_V2.20_Win.zip

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


download 64 bit :

Google drive link

https://drive.google.com/open?id=1PxPB54ovBl9-41LEYGVJiZV0oKxsvV76

Mega link

https://mega.nz/#!34kUAIKa!0EwYGoSj9Ou7Il_wTLAyKhWa81F8PX3aMR5hwYdEQQA





-------------- 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

or

"C:\Program Files\MPICH2\bin\mpiexec.exe" -n 8 FonSinEM_*.exe

//if your system have other software brings mpiexec.exe like Matlab, this may lead to call wrong mpiexec.exe and then execute error. by this way you can use above command to use full path of mpiexec.exe to execute.


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

V 2.x (Windows) install instruction

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

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

Install MCR 2018a

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

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

Release (MATLAB Runtime Version#)Windows

R2018a (9.4)


2. install MCR_R2018a_win64_installer.exe

3. The default path C:\Program Files\MATLAB\

4. The new version will add the path to environment automatically. if not you can install follow below steps.

For Windows 7 example

a.Right-click on the My Computer icon on the right side of the Start Menu.

b.Click “Properties” from the context menu.

c.Click “Advanced system settings”

d.Go to the “Advanced” tab

e.Click “Environment Variables…”

f.Click variable called “Path” and click “Edit…”

and then add the following text (see the figure)

C:\Program Files\MATLAB\MATLAB Compiler Runtime\v94\runtime\win64;


5. run FonSinEM_3DCAD_V2.x_R2018a.exe

if success




【Add the FonSinEM folder to the system path 】


why need to add the FonSinEM folder to the system path, this is due to if the folder include in the system path, then all the program in the folder will become the global program and then you can call the program at any other position.


So, download the FonSinEMX64.zip and then extract it, you can get the folder "FonSinEM_X64", the do the same step of MCR .


For Windows 7 example


a.Right-click on the My Computer icon on the right side of the Start Menu.

b.Click “Properties” from the context menu.

c.Click “Advanced system settings”

d.Go to the “Advanced” tab

e.Click “Environment Variables…”

f.Click variable called “Path” and click “Edit…”

and then add the following text (see the figure)


D:\FonSinEM_X64;



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

Install parallel library MPICH2

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

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



Install the mpich2 1.41p1, the default path at "C:\Program Files\MPICH2\bin"


For Windows 7 example


a.Right-click on the My Computer icon on the right side of the Start Menu.

b.Click “Properties” from the context menu.

c.Click “Advanced system settings”

d.Go to the “Advanced” tab

e.Click “Environment Variables…”

f.Click variable called “Path” and click “Edit…”

and then add the following text (see the figure)


C:\Program Files\MPICH2\bin;

reference:

http://swash.sourceforge.net/online_doc/swashimp/node9.html


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

open an admin command prompt by right-clicking on the command prompt icon and selecting run as administrator. In the command prompt type the following commands in sequence: smpd -install

mpiexec -remove

mpiexec -register

mpiexec -validate (it should return SUCCESS)

smpd -status (it should return 'smpd running on <hostname>')

If the last two commands are successfully, then you are ready to run SWASH in parallel.

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

smpd -get binary

"Attention"

If you has installed Matlab, due to Matlab have smpd and mpiexec too, this will lead to call the mpiexec error. So, you need to verify if the smpd & mpiexec already occupied by Matlab.

C:\Program Files\MPICH2\bin\smpd.exe

smpd -install

mpiexec -remove

mpiexec -register

mpiexec -validate

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

Install Cuda GPU 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