Navigation
|
This is old documentation from 2020... Need to update
Hit FreeFem++ mycode.edp FreeFem++ with PETSc parallisationNew development on FreeFem++ using PETSc and SLEPc libraries, full mpi(!!!) is available even for eigen value problem. For use of PETSc and SLEPc, you need to compile with source code. https://doc.freefem.org/introduction/installation.html#compiling-source-code Server 3 has already installed version. If you want to try, go to server 3 and instead of hiting Freefem++ do mpirun -np [no.prc] /home/yim/FreeFem-sources/src/mpi/FreeFem++-mpi mycode.edp FreeFem++ in fidis - linking problem with PETSc libraryBasically, you can install your own Freefem++ in fidis $HOME The steps are similar to compilation in Ubuntu in the link above, but some enviromnental variables should be loaded. 1. Download Freefem++ NOTE: I was recommanded to use developer version it can be found their Freefem git branches or download here.. 2. Load module for intel compilers module load cmake/3.14.4 autoconf/2.69 m4/1.4.18 automake/1.16.1 intel/18.0.5 intel-mpi/2018.4.274 intel-mkl/2018.5.274 export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${INTEL_ROOT}/compiler/lib/intel64 3. Follow this mkdir ./FreeFem-install-dev/ cd FreeFem-sources-dev autoreconf -i ./configure --enable-download --enable-optim --prefix=$HOME/FreeFem-install-dev --with-mkl=/ssoft/spack/external/intel/2018.4/compilers_and_libraries_2018.5.274/linux/mkl/lib/intel64 ./3rdparty/getall -a cd 3rdparty/ff-petsc make petsc-slepc cd - ./reconfigure MPIRUN=mpiexec make -j4 please visit also my discussion with prj... https://community.freefem.org/t/freefem-petsc-configuration-problem-in-linux/542/27 Example of base.sh
#!/bin/bash
echo $1 > SESSION.NAME
module add intel/18.0.5 intel-mpi/2018.4.274 intel-mkl/2018.5.274 dirff=/home/yim/FreeFem-sources/src/mpi/FreeFem++-mpi srun $dirff stokes-io-3d.edp |