pelicans

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentes Révision précédente
Prochaine révision
Révision précédente
pelicans [2014/11/30 14:55] – [pelicans] gerardpelicans [2017/08/25 09:56] (Version actuelle) – modification externe 127.0.0.1
Ligne 11: Ligne 11:
 [henry@judith ~]$ isis_run -h [henry@judith ~]$ isis_run -h
 </code> </code>
-  * FIXME: ajouter MPI, METIS, et java ? + 
-  * on peut lancer l'itnerface graphique xisis+  * on peut lancer l'itnerface graphique **xisis**
   * pour accéder au tutoriel depuis xisis, aller dans Preferences, pdf-open, et remplacer acroread par evince    * pour accéder au tutoriel depuis xisis, aller dans Preferences, pdf-open, et remplacer acroread par evince 
  
Ligne 25: Ligne 25:
   * modifier Makefile.in   * modifier Makefile.in
   * /local/apps/metis-4.0.3   * /local/apps/metis-4.0.3
 +  * dans Lib/proto.h, on commente les déclarations de drand48, srand48 et ilog2 sinon pelicans/isis ne compilera pas
 +
 <code> <code>
 [devel1@judith ~/metis-4.0.3]$ make | & tee MAKE.LOG [devel1@judith ~/metis-4.0.3]$ make | & tee MAKE.LOG
 </code> </code>
  
-==== pelicans ====+==== pelicans sans metis ==== 
 + 
 +<code> 
 +[devel1@judith ~/isis-4.1.0]$ diff PELICANS/etc/extra-Linux.mak-ori PELICANS/etc/extra-Linux.mak 
 +10c10 
 +< WITH_MPI      = 0 
 +--- 
 +> WITH_MPI      = 1 
 +148c148 
 +< MPIRUN = /home/semar/pelican/ExternalPackages/Linux/openmpi/bin/mpirun 
 +--- 
 +> MPIRUN = /usr/lib64/openmpi/bin/mpirun 
 +155,156c155,156 
 +< CPPFLAGS += -I$(MPIPATH)/include 
 +< MPIPATH   = $(EXTRA_LIBS_DIR)/openmpi 
 +--- 
 +> CPPFLAGS += -I/usr/include/openmpi-x86_64 -I$(MPIPATH)/include 
 +> MPIPATH   = /usr/lib64/openmpi 
 +</code> 
 + 
 +<code> 
 +[devel1@judith ~/isis-4.1.0]$ make install | & tee INSTALL.LOG                   
 +... 
 + 
 +-------------------------------------------------- 
 +| 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 `/local/apps/isis-4.1.0/ISIS' 
 +</code> 
 + 
 +on passe les tests MPI 
 +<code> 
 +[devel1@judith ~/isis-4.1.0]$ source /local/apps/isis-4.1.0/bin/init.csh 
 +[devel1@judith ~/isis-4.1.0]$ make test_MPI 
 +... 
 +**************************************** 
 +make[1]: Leaving directory `/local/apps/isis-4.1.0/ISIS' 
 +================================================================================= 
 +          Test MPI 
 +================================================================================= 
 + 
 +*** Operating system: Linux 
 + 
 +*** Executable: /local/apps/isis-4.1.0/ISIS/lib/Linux-gcc/opt0.exe 
 + 
 +*** Data file: /local/apps/isis-4.1.0/PELICANS/etc/ExternalAPI/MPI/tests_enabling/data.pel 
 + 
 +*** PELICANS library 
 +       compiler          : gcc 
 +       compilation date  : Nov 29 2014 
 +       compilation level : opt0 
 + 
 + 
 +---------------------------------------------------- 
 +|  Unit tests performed on class PEL_Expression : 
 +==================================================== 
 +| ...                   MPI_enabling_test kind :  OK 
 +| ...             MPI_enabling_test evaluation :  OK 
 +==================================================== 
 +|  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 
 +</code> 
 + 
 +==== pelicans avec metis ====
  
 <code> <code>
Ligne 93: Ligne 177:
           Installing PELICANS, level=opt0           Installing PELICANS, level=opt0
 ================================================================================= =================================================================================
-make[1]: Entering directory `/local/apps/isis-4.1.0/PELICANS' +... 
-pel: building Makefile +| Test is successful 
-make[2]: Entering directory `/local/apps/isis-4.1.0/PELICANS' +-------------------------------------------------- 
-pel: compiling EXT_MPIcommunicator.cc +-------------------------------------------------- 
-pel: compiling EXT_MPI_API.cc +| ISIS/IHM/samples/WallConduction/DoRun 
-pel: compiling EXT_METISsplitting.cc +-------------------------------------------------- 
-In file included from /local/apps/metis-4.0.3/Lib/metis.h:36:0, +| Test is successful 
-                 from /local/apps/isis-4.1.0/PELICANS/packages/ExternalAPI/METIS_4.0.1/src/EXT_METISsplitting.cc:65: +-------------------------------------------------- 
-/local/apps/metis-4.0.3/Lib/proto.h:458:16: error: declaration of ‘double drand48()’ has a different exception specifier + 
- double drand48(); +************************************************** 
-                ^ +* number of successful tests: 214 
-In file included from /local/apps/metis-4.0.3/Lib/metis.h:17:0, +* number of  ambiguous tests: 0 
-                 from /local/apps/isis-4.1.0/PELICANS/packages/ExternalAPI/METIS_4.0.1/src/EXT_METISsplitting.cc:65: +* number of    failing tests: 0 
-/usr/include/stdlib.h:389:15: error: from previous declaration ‘double drand48() throw ()’ +************************************************** 
- extern double drand48 (void) __THROW; + 
-               ^ +*** Elapsed time in second:  
-In file included from /local/apps/metis-4.0.3/Lib/metis.h:36:0, +user 0.068729 
-                 from /local/apps/isis-4.1.0/PELICANS/packages/ExternalAPI/METIS_4.0.1/src/EXT_METISsplitting.cc:65: + 
-/local/apps/metis-4.0.3/Lib/proto.h:459:18: error: declaration of ‘void srand48(long int)’ has a different exception specifier + 
- void srand48(long); +**** 
-                  ^ +* target test_install completed 
-In file included from /local/apps/metis-4.0.3/Lib/metis.h:17:0, +**************************************** 
-                 from /local/apps/isis-4.1.0/PELICANS/packages/ExternalAPI/METIS_4.0.1/src/EXT_METISsplitting.cc:65: +make[1]: Leaving directory `/local/apps/isis-4.1.0/ISIS'
-/usr/include/stdlib.h:403:13: error: from previous declaration ‘void srand48(long int) throw ()’ +
- extern void srand48 (long int __seedval) __THROW; +
-             ^ +
-make[2]: *** [/local/apps/isis-4.1.0/PELICANS/lib/Linux-gcc/opt0/EXT_METISsplitting.o] Error 1 +
-make[2]: Leaving directory `/local/apps/isis-4.1.0/PELICANS' +
-make[2]: Entering directory `/local/apps/isis-4.1.0/PELICANS' +
-pel: compiling EXT_METISsplitting.cc +
-In file included from /local/apps/metis-4.0.3/Lib/metis.h:36:0, +
-                 from /local/apps/isis-4.1.0/PELICANS/packages/ExternalAPI/METIS_4.0.1/src/EXT_METISsplitting.cc:65: +
-/local/apps/metis-4.0.3/Lib/proto.h:458:16: error: declaration of ‘double drand48()’ has a different exception specifier +
- double drand48(); +
-                ^ +
-In file included from /local/apps/metis-4.0.3/Lib/metis.h:17:0, +
-                 from /local/apps/isis-4.1.0/PELICANS/packages/ExternalAPI/METIS_4.0.1/src/EXT_METISsplitting.cc:65: +
-/usr/include/stdlib.h:389:15: error: from previous declaration ‘double drand48() throw ()’ +
- extern double drand48 (void) __THROW; +
-               ^ +
-In file included from /local/apps/metis-4.0.3/Lib/metis.h:36:0, +
-                 from /local/apps/isis-4.1.0/PELICANS/packages/ExternalAPI/METIS_4.0.1/src/EXT_METISsplitting.cc:65: +
-/local/apps/metis-4.0.3/Lib/proto.h:459:18: error: declaration of ‘void srand48(long int)’ has a different exception specifier +
- void srand48(long); +
-                  ^ +
-In file included from /local/apps/metis-4.0.3/Lib/metis.h:17:0, +
-                 from /local/apps/isis-4.1.0/PELICANS/packages/ExternalAPI/METIS_4.0.1/src/EXT_METISsplitting.cc:65: +
-/usr/include/stdlib.h:403:13: error: from previous declaration ‘void srand48(long int) throw ()’ +
- extern void srand48 (long int __seedval) __THROW; +
-             ^ +
-make[2]: *** [/local/apps/isis-4.1.0/PELICANS/lib/Linux-gcc/opt0/EXT_METISsplitting.o] Error 1 +
-make[2]: Leaving directory `/local/apps/isis-4.1.0/PELICANS' +
-make[1]: *** [lib/Linux-gcc/libpel0.so] Error 2 +
-make[1]: Leaving directory `/local/apps/isis-4.1.0/PELICANS' +
-make: *** [PELICANS0] Error 2+
 </code> </code>
  
 +==== Test parallèle (tutorial) ====
 +on modifie le data.pel, comme indiqué dans le tutorial (p72):
 +<code>
 +[ghenry@holopherne RoomFire]$ grep parallel *.pel
 +data.pel:execution_mode="parallel"
 +[ghenry@holopherne RoomFire]$ grep splitt *.pel
 +data.pel:splitting_strategy="METIS"
 +</code>
 +et on lance le calcul, sur une machine qui a 30 slots (CentOS 7, openmpi openmpi-1.6.4-3):
 +<code>
 +[ghenry@holopherne RoomFire]$ which mpirun
 +/usr/lib64/openmpi/bin/mpirun
 +</code>
 +
 +<code>
 +[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 'PEL_Exceptions::InternalError'
 +--------------------------------------------------------------------------
 +mpirun noticed that process rank 1 with PID 79767 on node holopherne.cmi.univ-mrs.fr exited on signal 11 (Segmentation fault).
 +--------------------------------------------------------------------------
 +</code>
 +ce bug est dû à une mauvaise version du fichier ''CALIFS/packages/simulators/heat_transfer/src/IS_Enthalpy.cc''. On le remplace, puis:
 +<code>
 +make APPLI0
 +</code>
 +et ça passe
 ====== pelicans ====== ====== pelicans ======
  
  • pelicans.1417355712.txt.gz
  • Dernière modification : 2017/08/25 09:55
  • (modification externe)