====== MUMPS ====== * [[http://graal.ens-lyon.fr/MUMPS/ ]] * sur octopus * ===== 4.6.4 ===== * dans ''/local/apps/mumps+mpi/MUMPS_4.6.4'' * compilé avec Blacs, Scalapack, metis 4.0.3 et SunMPI (voir [[http://www.latp.univ-mrs.fr/vfcc/doku.php?id=utilisation_de_mumps]] ) * pour le compiler avec MPICH, ne pas oublier -lrt à l'édition de liens ===== 4.10.0 ===== * dans ''/local/apps/MUMPS_4.10.0'' * blacs et scalapack sont inclus dans sunstudio12.1 * la config: [devel1@octopus ~/MUMPS_4.10.0]$ diff Make.inc/Makefile.SUN.PAR Makefile.inc 69,71c69,71 < CC = cc < FC = f90 < FL = f90 --- > CC = mpicc > FC = mpif90 > FL = mpif90 75,77c75,77 < SCALAP = -ls3l -lhpcshm < INCPAR = -I/opt/SUNWhpc/include < LIBPAR = -L/opt/SUNWhpc/lib -R/opt/SUNWhpc/lib $(SCALAP) -lmpi --- > SCALAP = -lscalapack -lblacs_openmpi > INCPAR = -I/opt/sun/sunstudio12.1/include > LIBPAR = -L/opt/sun/sunstudio12.1/lib/amd64 -R/opt/sun/sunstudio12.1/lib/amd64 $(SCALAP) -lmpi 80c80 < LIBBLAS = -lsunperf -lf77compat --- > LIBBLAS = -xlic_lib=sunperf #-lsunperf -lf77compat 88a89,92 > OPTF = -m64 -xmodel=medium -KPIC -DALLOW_NON_INIT -DSUN_ -xlic_lib=sunperf > OPTL = -m64 -xmodel=medium -KPIC -xlic_lib=sunperf > OPTC = -m64 -xmodel=medium -KPIC -xlic_lib=sunperf * à utiliser avec sunstudio12.1 et SunHPC8.2.1c module unload sunstudio module unload sunhpc module unload mpi module load sunstudio/12.1 module load mpi/sunhpc821c ====== Executer l'exemple fourni avec mumps ====== * se connecter sur octopus * lancer module load sunhpc mpirun -np 2 /local/apps/mumps+mpi/MUMPS_4.6.4/test/dsimpletest < /local/apps/mumps+mpi/MUMPS_4.6.4/test/input_simpletest_real ====== Problèmes ====== ===== relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object ===== /opt/sun/sunstudio12.1/prod/lib/amd64/ld: /local/apps/mumps+mpi/BLACS/LIB/blacs_MPI-X64LINUX-0.a(igebs2d_.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC /local/apps/mumps+mpi/BLACS/LIB/blacs_MPI-X64LINUX-0.a: could not read symbols: Bad value make[1]: *** [/net/Krill/mmg/minjeaud/PELICANS/PelicansRef/lib/octopus-CC/opt2//../libpel2.so] Error 1 avec sunstudio, l'option "-fPIC" s'écrit: ''-xmodel=medium'' pour mumps, on ajoute ''-xmodel=medium -KPIC'' -> utiliser la librairie /local/apps/mumps+mpi-12oct