Différences
Ci-dessous, les différences entre deux révisions de la page.
Prochaine révision | Révision précédente | ||
pelicans [2007/08/17 18:21] – créée gerard | pelicans [2017/08/25 09:56] (Version actuelle) – modification externe 127.0.0.1 | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | PELICANS | + | **PELICANS** |
- | nemo | + | ====== isis 4.1.0 ====== |
+ | ===== serveur judith ===== | ||
+ | * / | ||
+ | * le répertoire doc est recopié sur le serveur web, et donc accessible sur https:// | ||
+ | * pour l' | ||
+ | < | ||
+ | [henry@judith ~]$ source / | ||
- | 7 avril 05 | + | [henry@judith ~]$ isis_run -h |
+ | </ | ||
+ | |||
+ | * on peut lancer l' | ||
+ | * pour accéder au tutoriel depuis xisis, aller dans Preferences, | ||
+ | |||
+ | ===== version parallèle ===== | ||
+ | ==== openmpi ==== | ||
+ | |||
+ | installé par centos -> 1.6.4 (3.el7) | ||
+ | |||
+ | ==== metis ==== | ||
+ | |||
+ | * Warning: install METIS as a dynamic library ( in METIS directory, make COPTIONS=-fPIC ) | ||
+ | * modifier Makefile.in | ||
+ | * / | ||
+ | * dans Lib/ | ||
+ | |||
+ | < | ||
+ | [devel1@judith ~/ | ||
+ | </ | ||
+ | |||
+ | ==== pelicans sans metis ==== | ||
+ | |||
+ | < | ||
+ | [devel1@judith ~/ | ||
+ | 10c10 | ||
+ | < WITH_MPI | ||
+ | --- | ||
+ | > WITH_MPI | ||
+ | 148c148 | ||
+ | < MPIRUN = / | ||
+ | --- | ||
+ | > MPIRUN = / | ||
+ | 155, | ||
+ | < CPPFLAGS += -I$(MPIPATH)/ | ||
+ | < MPIPATH | ||
+ | --- | ||
+ | > CPPFLAGS += -I/ | ||
+ | > MPIPATH | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | [devel1@judith ~/ | ||
+ | ... | ||
+ | |||
+ | -------------------------------------------------- | ||
+ | | Test is successful | ||
+ | -------------------------------------------------- | ||
+ | |||
+ | ************************************************** | ||
+ | * number of successful tests: 214 | ||
+ | * number of ambiguous tests: 0 | ||
+ | * number of failing tests: 0 | ||
+ | ************************************************** | ||
+ | |||
+ | *** Elapsed time in second: | ||
+ | user 0.084841 | ||
+ | |||
+ | |||
+ | **** | ||
+ | * target test_install completed | ||
+ | **************************************** | ||
+ | make[1]: Leaving directory `/ | ||
+ | </ | ||
+ | |||
+ | on passe les tests MPI | ||
+ | < | ||
+ | [devel1@judith ~/ | ||
+ | [devel1@judith ~/ | ||
+ | ... | ||
+ | **************************************** | ||
+ | make[1]: Leaving directory `/ | ||
+ | ================================================================================= | ||
+ | Test MPI | ||
+ | ================================================================================= | ||
+ | |||
+ | *** Operating system: Linux | ||
+ | |||
+ | *** Executable: / | ||
+ | |||
+ | *** Data file: / | ||
+ | |||
+ | *** PELICANS library | ||
+ | | ||
+ | | ||
+ | | ||
+ | |||
+ | |||
+ | ---------------------------------------------------- | ||
+ | | Unit tests performed on class PEL_Expression : | ||
+ | ==================================================== | ||
+ | | ... | ||
+ | | ... | ||
+ | ==================================================== | ||
+ | | End of 2 tests of class PEL_Expression in 2.4e-05 s | ||
+ | ---------------------------------------------------- | ||
+ | |||
+ | ---- Success of all unit tests ---- | ||
+ | |||
+ | *** Elapsed time in second: | ||
+ | user 0.00017 | ||
+ | </ | ||
+ | |||
+ | ==== pelicans avec metis ==== | ||
+ | |||
+ | < | ||
+ | [devel1@judith ~/ | ||
+ | 10c10 | ||
+ | < WITH_MPI | ||
+ | --- | ||
+ | > WITH_MPI | ||
+ | 24c24 | ||
+ | < WITH_METIS | ||
+ | --- | ||
+ | > WITH_METIS | ||
+ | 148c148 | ||
+ | < MPIRUN = / | ||
+ | --- | ||
+ | > MPIRUN = / | ||
+ | 155, | ||
+ | < CPPFLAGS += -I$(MPIPATH)/ | ||
+ | < MPIPATH | ||
+ | --- | ||
+ | > CPPFLAGS += -I/ | ||
+ | > MPIPATH | ||
+ | 236c236 | ||
+ | < METISPATH = $(EXTRA_LIBS_DIR)/ | ||
+ | --- | ||
+ | > METISPATH = / | ||
+ | </ | ||
+ | |||
+ | et on lance la compilation | ||
+ | < | ||
+ | [devel1@judith ~/ | ||
+ | ================================================================================= | ||
+ | Configuration file | ||
+ | ================================================================================= | ||
+ | |||
+ | Hostname: judith.cmi.univ-mrs.fr | ||
+ | Compiler: gcc | ||
+ | Architecture-Makefile searched in: | ||
+ | / | ||
+ | | ||
+ | | ||
+ | | ||
+ | * Linux-gcc | ||
+ | | ||
+ | | ||
+ | | ||
+ | Extra-Makefile searched in: | ||
+ | / | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | * Linux-undef | ||
+ | Compiler Architecture name: Linux-gcc | ||
+ | |||
+ | External libraries: | ||
+ | MPI: enabled | ||
+ | JAVA: disabled | ||
+ | | ||
+ | ================================================================================= | ||
+ | Installing PELICANS, level=opt0 | ||
+ | ================================================================================= | ||
+ | ... | ||
+ | | Test is successful | ||
+ | -------------------------------------------------- | ||
+ | -------------------------------------------------- | ||
+ | | ISIS/ | ||
+ | -------------------------------------------------- | ||
+ | | Test is successful | ||
+ | -------------------------------------------------- | ||
+ | |||
+ | ************************************************** | ||
+ | * number of successful tests: 214 | ||
+ | * number of ambiguous tests: 0 | ||
+ | * number of failing tests: 0 | ||
+ | ************************************************** | ||
+ | |||
+ | *** Elapsed time in second: | ||
+ | user 0.068729 | ||
+ | |||
+ | |||
+ | **** | ||
+ | * target test_install completed | ||
+ | **************************************** | ||
+ | make[1]: Leaving directory `/ | ||
+ | </ | ||
+ | |||
+ | ==== Test parallèle (tutorial) ==== | ||
+ | on modifie le data.pel, comme indiqué dans le tutorial (p72): | ||
+ | < | ||
+ | [ghenry@holopherne RoomFire]$ grep parallel *.pel | ||
+ | data.pel: | ||
+ | [ghenry@holopherne RoomFire]$ grep splitt *.pel | ||
+ | data.pel: | ||
+ | </ | ||
+ | et on lance le calcul, sur une machine qui a 30 slots (CentOS | ||
+ | < | ||
+ | [ghenry@holopherne RoomFire]$ which mpirun | ||
+ | / | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | [ghenry@holopherne RoomFire]$ isis_run data.pel resu -np 2 | ||
+ | Process #0 : launched on holopherne.cmi.univ-mrs.fr (79758). | ||
+ | Process #1 : launched on holopherne.cmi.univ-mrs.fr (79759). | ||
+ | Process #1 : terminated. | ||
+ | Process #0 : terminated. | ||
+ | Process #0 : launched on holopherne.cmi.univ-mrs.fr (79766). | ||
+ | Process #1 : launched on holopherne.cmi.univ-mrs.fr (79767). | ||
+ | terminate called after throwing an instance of ' | ||
+ | -------------------------------------------------------------------------- | ||
+ | mpirun noticed that process rank 1 with PID 79767 on node holopherne.cmi.univ-mrs.fr exited on signal 11 (Segmentation fault). | ||
+ | -------------------------------------------------------------------------- | ||
+ | </ | ||
+ | ce bug est dû à une mauvaise version du fichier '' | ||
+ | < | ||
+ | make APPLI0 | ||
+ | </ | ||
+ | et ça passe | ||
+ | ====== pelicans ====== | ||
+ | |||
+ | sur octopus: CentOS, 64bits | ||
+ | |||
+ | < | ||
+ | Le couplage à MUMPS (+mpi) est dispo dans PELICANS. A Cadarache, ils utilisent les librairies suivantes pour linker avec PELICANS : | ||
+ | |||
+ | CPPFLAGS += -I$(MUMPS)/ | ||
+ | LIBPATH | ||
+ | |||
+ | SCALAP = -L$(SCALAPACK)/ | ||
+ | LIBBLAS = -lblas -llapack -lmpi_f77 -lmpi_f90 | ||
+ | LDLIBS | ||
+ | |||
+ | </ | ||
+ | |||
+ | < | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | |||
+ | |||
+ | </ | ||
+ | |||
+ | |||
+ | sur nemo: solaris 10, amd64 | ||
+ | |||
+ | ====== 9 jan 09 utilisation de stlport4 ====== | ||
+ | pour contourner le problème suivant avec la librairie standard ancienne: | ||
+ | < | ||
+ | "/ | ||
+ | </ | ||
+ | |||
+ | __modifications de SunOS-CC.mak__ | ||
+ | < | ||
+ | 24c24 | ||
+ | < CXXFLAGS += $(OPT) -KPIC | ||
+ | --- | ||
+ | > CXXFLAGS += $(OPT) -KPIC -library=stlport4 | ||
+ | 35c35 | ||
+ | < LDLIBSSO = -lCstd -lCrun | ||
+ | --- | ||
+ | > LDLIBSSO = -library=stlport4 -lCrun | ||
+ | </ | ||
+ | |||
+ | ensuite, il faut faire un certain nombre de modifs sur les sources, essentiellement pour ajouter "using namespace std;" | ||
+ | |||
+ | [[http:// | ||
+ | |||
+ | |||
+ | à propos du comportment du compilateur CC: | ||
+ | * [[http:// | ||
+ | * http:// | ||
+ | * http:// | ||
+ | |||
+ | |||
+ | |||
+ | ====== 8 jan 09 utilisation de Apache C++ stdlib ====== | ||
+ | |||
+ | __modifications__ | ||
+ | < | ||
+ | nemo-henry% diff / | ||
+ | 24c24 | ||
+ | < CXXFLAGS += $(OPT) -KPIC | ||
+ | --- | ||
+ | > CXXFLAGS += $(OPT) -KPIC -I/ | ||
+ | 29c29,30 | ||
+ | < LDFLAGS += $(OPT) -KPIC | ||
+ | --- | ||
+ | > LDFLAGS += $(OPT) -KPIC -R/ | ||
+ | > | ||
+ | 35c36 | ||
+ | < LDLIBSSO = -lCstd -lCrun | ||
+ | --- | ||
+ | > LDLIBSSO = -library=%none -lstd15D# | ||
+ | </ | ||
+ | |||
+ | |||
+ | __erreur à la compilation__ | ||
+ | < | ||
+ | "/ | ||
+ | "/ | ||
+ | "/ | ||
+ | "/ | ||
+ | 4 Error(s) detected. | ||
+ | make[1]: *** [/ | ||
+ | |||
+ | </ | ||
+ | |||
+ | |||
+ | ====== 7 avril 05 ====== | ||
+ | |||
+ | |||
+ | ====== 2 mai 05 qq remarques: ====== | ||
+ | |||
+ | - l. chailan me parle d' | ||
+ | - ca compile avec le flag EXTENDED_MATH mais ca ne linke jamais avec la perflib de sun? | ||
+ | |||
+ | ====== 19 avril 05 creation d'un compte pelicans ====== | ||
+ | < | ||
+ | accessible par les gens de l' | ||
+ | sur nemo, mon repertoire PELICANS est recopie dans / | ||
+ | il y a des erreurs pendant la copie: | ||
+ | nemo-root% cp -rp ~henry/ | ||
+ | cp: cannot access / | ||
+ | cp: cannot access / | ||
+ | cp: cannot access / | ||
+ | cp: cannot access / | ||
+ | cp: cannot access / | ||
+ | |||
+ | c'est parce que: | ||
+ | nemo-root% ll / | ||
+ | 2 lrwxrwxrwx | ||
+ | |||
+ | la doc pointe sur un rep qui n' | ||
+ | </ | ||
+ | ====== 13 avril 05: installation de pelicans ====== | ||
+ | < | ||
+ | plateforme: amd64 | ||
+ | OS: SunOS | ||
+ | compilateur: | ||
+ | |||
+ | - utiliser gmake au lieu de make | ||
+ | - creer un fichier SunOS-CC.mak et extra-SunOS.mak dans $PELARCHDIR | ||
+ | - ajouter les variables d' | ||
+ | CCC=CC | ||
+ | PELARCHDIR=... | ||
+ | - gmake -e environment | ||
+ | - pel arch -v CC | ||
+ | - gmake -e all >& MAKE-CC.LOG | ||
+ | - gmake -e check >& CHEK-CC.LOG | ||
+ | |||
+ | Le fichier CHEK-CC.LOG contient 23 "FATAL ERROR" | ||
+ | </ | ||
- | file:/// | ||
- | http:// | ||