*********************** install LibMultiScale *********************** externals ********* module list on grid5000 module list get MPI path on grid5000 module show mvapich2/gcc/0.9.8-15 module show acml/gcc/64/3.6.0 install PATSC ----------------- PETSC_ARCH=linux-gnu-c-opt; export PETSC_ARCH PETSC_DIR=/home/bordeaux/maelafrit/opt/petsc/petsc-2.3.3-p15; export PETSC_DIR PETSC_DIR=/home/bordeaux/maelafrit/trunc/libmultiscale-externals/external/petsc-2.3.3-p15 ./config/configure.py --with-cc=gcc --with-fc=gfortran --with-debugging=no --with-shared=0 --with-mpi --with-x=0 --with-blas-lapack-dir=/cvos/shared/apps/acml/3.6.0/gfortran64 --with-mpi-dir=/cvos/shared/apps/ofed/mpi/gcc/mvapich2-0.9.8-15 for bordereau ./config/configure.py --with-cc=gcc --with-fc=gfortran --with-debugging=no --with-shared=0 --with-mpi --with-x=0 --with-mpi-dir= /softs/mpich-1.2.7/bin/mpicc install LibMesh -------------------- cd external patch libmesh patch -N -p0 < ../patches/libmesh-0.5.0.patch patching file libmesh-0.5.0/src/mesh/mesh_base.C patching file libmesh-0.5.0/include/utils/parameters.h patching file libmesh-0.5.0/src/fe/fe_map.C cd libmesh-0.5.0 ./configure --enable-mpi --disable-shared --disable-parmetis --disable-tecplot make libmesh_CXXFLAGS+=-DMPICH_IGNORE_CXX_SEEK for version 6 CXXFLAGS=-DMPICH_IGNORE_CXX_SEEK make for version 5 unset INCLUDE make libmultiscale ******************** charger les modules suivants : fftw2/gcc/64/double/2.1.5 scotch/current/int64 dans le CMakeCache.txt avec ccmake FFTW_INCLUDE_PATH /cvos/shared/apps/fftw/gcc/64/2.1.5/double/include FFTW_LIBRARY /cvos/shared/apps/fftw/gcc/64/2.1.5/double/lib pour charger le module à chaque foi lors du demarrage module initadd ça va lui rajouter dans le .bashrc compiler SIMULPACK qui est dans le repertoire FE-pkg MPI config *********** MPI libmultiscale MPIEXEC /softs/mpich-1.2.7/bin/mpirun MPIEXEC_MAX_NUMPROCS 2 MPIEXEC_NUMPROC_FLAG -np MPIEXEC_POSTFLAGS MPIEXEC_PREFLAGS MPI_COMPILER /softs/mpich-1.2.7/bin/mpicxx MPI_COMPILE_FLAGS -DUSE_STDARG -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDARG_H=1 -DUSE_STDARG=1 -DMALLOC_RET_VOID=1 MPI_EXTRA_LIBRARY /home/bordeaux/jcastang/mpich/mpich-1.2.7/lib/libmpich.a;/usr/lib/libpthread.so;/usr/lib/librt.so MPI_INCLUDE_PATH /softs/mpich-1.2.7/include MPI_LIBRARY /home/bordeaux/jcastang/mpich/mpich-1.2.7/lib/libpmpich++.a /softs/mpich-1.2.7/lib/libpmpich++.a simulpack MPIEXEC /usr/bin/mpirun MPIEXEC_MAX_NUMPROCS 2 MPIEXEC_NUMPROC_FLAG -np MPIEXEC_POSTFLAGS MPIEXEC_PREFLAGS MPI_COMPILER /usr/bin/mpicxx MPI_COMPILE_FLAGS -DUSE_STDARG -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDARG_H=1 -DUSE_STDARG=1 -DMALLOC_RET_VOID=1 MPI_EXTRA_LIBRARY /usr/lib/libpthread.so;/usr/lib/librt.so MPI_INCLUDE_PATH /usr/lib/mpich/include MPI_LIBRARY /usr/lib/libpmpich.so MPIEXEC /softs/mpich-1.2.7/bin/mpirun MPIEXEC_MAX_NUMPROCS 2 MPIEXEC_NUMPROC_FLAG -np MPIEXEC_POSTFLAGS MPIEXEC_PREFLAGS MPI_COMPILER /softs/mpich-1.2.7/bin/mpicxx MPI_COMPILE_FLAGS -DUSE_STDARG -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDARG_H=1 -DUSE_STDARG=1 -DMALLOC_RET_VOID=1 MPI_EXTRA_LIBRARY /softs/mpich-1.2.7/lib/libmpich.a;/usr/lib/libpthread.so;/usr/lib/librt.so MPI_INCLUDE_PATH /softs/mpich-1.2.7/include MPI_LIBRARY /softs/mpich-1.2.7/lib/libpmpich++.a