Welcome, Guest
Username: Password: Remember me

TOPIC: Parallele mode problem with Telemac 2d V6P3

Parallele mode problem with Telemac 2d V6P3 10 years 10 months ago #11486

  • PLDelage
  • PLDelage's Avatar
Hi,

I installed Telemac-mascaret v6p3 (windows 7, Gfortran) and I'm trying to use the parallele mode with the Gouttedo example.

The problem occurs in the "Running your simulations(s):" state:

*************************
C:\opentelemac-mascaret\v6p3\a_test\gouttedo>telemac2d.py -s t2d_gouttedo.cas


Loading Options and Configurations
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

... parsing configuration file: C:\opentelemac-mascaret\v6p3\configs\systel.cfg


Running your CAS file for:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

+> configuration: wing64mpi
+> root: C:\opentelemac-mascaret\v6p3
+> version v6p3


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


... reading the main module dictionary

... processing the main CAS file(s)
+> simulation en Francais

... checking parallelisation

... handling temporary directories

... checking coupling between codes

... first pass at copying all input files
+> t2d_gouttedo.cas
copying: telemac2d.dico C:\opentelemac-mascaret\v6p3\a_test\gouttedo\t2d_go
uttedo.cas_2014-01-07-09h59min09s\T2DDICO
re-writing: C:\opentelemac-mascaret\v6p3\a_test\gouttedo\t2d_gouttedo.cas_2014
-01-07-09h59min09s\T2DCAS
copying: t2d_gouttedo.f C:\opentelemac-mascaret\v6p3\a_test\gouttedo\t2d_go
uttedo.cas_2014-01-07-09h59min09s\t2dfort.f
copying: geo_gouttedo.cli C:\opentelemac-mascaret\v6p3\a_test\gouttedo\t2d_
gouttedo.cas_2014-01-07-09h59min09s\T2DCLI
copying: geo_gouttedo.slf C:\opentelemac-mascaret\v6p3\a_test\gouttedo\t2d_
gouttedo.cas_2014-01-07-09h59min09s\T2DGEO
copying: f2d_gouttedo.slf C:\opentelemac-mascaret\v6p3\a_test\gouttedo\t2d_
gouttedo.cas_2014-01-07-09h59min09s\T2DREF

... checking the executable
gfortran -fopenmp -c -O3 -ffixed-line-length-132 -DHAVE_MPI -fconvert=big-endian
-frecord-marker=4 -I C:\opentelemac-mascaret\v6p3\builds\wing64mpi\lib\utils\s
pecial -I C:\opentelemac-mascaret\v6p3\builds\wing64mpi\lib\utils\parallel -I
C:\opentelemac-mascaret\v6p3\builds\wing64mpi\lib\utils\damocles -I C:\opentele
mac-mascaret\v6p3\builds\wing64mpi\lib\utils\bief -I C:\opentelemac-mascaret\v6
p3\builds\wing64mpi\lib\sisyphe -I C:\opentelemac-mascaret\v6p3\builds\wing64mp
i\lib\tomawac -I C:\opentelemac-mascaret\v6p3\builds\wing64mpi\lib\telemac2d
t2dfort.f
gfortran -fopenmp -fconvert=big-endian -frecord-marker=4 -v -o t2d_gouttedo.exe
t2dfort.o -Xlinker --start-group C:\opentelemac-mascaret\v6p3\builds\wing64mpi\
lib\telemac2d\homere_telemac2d.lib C:\opentelemac-mascaret\v6p3\builds\wing64mpi
\lib\tomawac\homere_telemac2d.lib C:\opentelemac-mascaret\v6p3\builds\wing64mpi\
lib\sisyphe\homere_telemac2d.lib C:\opentelemac-mascaret\v6p3\builds\wing64mpi\l
ib\utils\bief\homere_telemac2d.lib C:\opentelemac-mascaret\v6p3\builds\wing64mpi
\lib\utils\damocles\homere_telemac2d.lib C:\opentelemac-mascaret\v6p3\builds\win
g64mpi\lib\utils\parallel\homere_telemac2d.lib C:\opentelemac-mascaret\v6p3\buil
ds\wing64mpi\lib\utils\special\homere_telemac2d.lib C:\opentelemac-mascaret\mpic
h2\lib\libfmpich2g.a
Driving: gfortran -fopenmp -fconvert=big-endian -frecord-marker=4 -v -o t2d_gout
tedo.exe t2dfort.o -Xlinker --start-group C:\opentelemac-mascaret\v6p3\builds\wi
ng64mpi\lib\telemac2d\homere_telemac2d.lib C:\opentelemac-mascaret\v6p3\builds\w
ing64mpi\lib\tomawac\homere_telemac2d.lib C:\opentelemac-mascaret\v6p3\builds\wi
ng64mpi\lib\sisyphe\homere_telemac2d.lib C:\opentelemac-mascaret\v6p3\builds\win
g64mpi\lib\utils\bief\homere_telemac2d.lib C:\opentelemac-mascaret\v6p3\builds\w
ing64mpi\lib\utils\damocles\homere_telemac2d.lib C:\opentelemac-mascaret\v6p3\bu
ilds\wing64mpi\lib\utils\parallel\homere_telemac2d.lib C:\opentelemac-mascaret\v
6p3\builds\wing64mpi\lib\utils\special\homere_telemac2d.lib C:\opentelemac-masca
ret\mpich2\lib\libfmpich2g.a -l gfortran -shared-libgcc
Using built-in specs.
COLLECT_GCC=gfortran
COLLECT_LTO_WRAPPER=c:/opentelemac-mascaret/mingw64/bin/../libexec/gcc/x86_64-w6
4-mingw32/4.8.0/lto-wrapper.exe
Target: x86_64-w64-mingw32
Configured with: /home/ruben/mingw-w64/src/gcc/configure --host=x86_64-w64-mingw
32 --build=x86_64-linux-gnu --target=x86_64-w64-mingw32 --with-sysroot=/home/rub
en/mingw-w64/mingw64mingw64/mingw64 --prefix=/home/ruben/mingw-w64/mingw64mingw6
4/mingw64 --with-gmp=/home/ruben/mingw-w64/prereq/x86_64-w64-mingw32/install --w
ith-mpfr=/home/ruben/mingw-w64/prereq/x86_64-w64-mingw32/install --with-mpc=/hom
e/ruben/mingw-w64/prereq/x86_64-w64-mingw32/install --with-cloog=/home/ruben/min
gw-w64/prereq/x86_64-w64-mingw32/install --disable-cloog-version-check --with-is
l=/home/ruben/mingw-w64/prereq/x86_64-w64-mingw32/install --enable-cloog-backend
=isl --with-host-libstdcxx='-static -lstdc++ -lm' --enable-shared --enable-stati
c --enable-threads=win32 --enable-plugins --disable-multilib --enable-languages=
c,lto,c++,objc,obj-c++,fortran,java --enable-libgomp --enable-fully-dynamic-stri
ng --enable-libstdcxx-time --disable-nls --disable-werror --enable-checking=rele
ase --with-gnu-as --with-gnu-ld --disable-win32-registry --disable-rpath --disab
le-werror --with-libiconv-prefix=/home/ruben/mingw-w64/prereq/x86_64-w64-mingw32
/install --with-pkgversion=rubenvb-4.8.0 --with-bugurl=mingw-w64-public@lists.so
urceforge.net CC= CFLAGS='-O2 -march=nocona -mtune=core2 -fomit-frame-pointer -m
omit-leaf-frame-pointer' CXXFLAGS='-O2 -march=nocona -mtune=core2 -fomit-frame-p
ointer -momit-leaf-frame-pointer' LDFLAGS= 'BOOT_CFLAGS=-O2 -march=nocona -mtune
=core2 -fomit-frame-pointer -momit-leaf-frame-pointer' 'BOOT_CXXFLAGS=-O2 -march
=nocona -mtune=core2 -fomit-frame-pointer -momit-leaf-frame-pointer' BOOT_LDFLAG
S= 'CFLAGS_FOR_TARGET= -O2 -march=nocona -mtune=core2 -fgraphite-identity -floop
-interchange -floop-block -floop-parallelize-all' 'CXXFLAGS_FOR_TARGET= -O2 -mar
ch=nocona -mtune=core2 -fgraphite-identity -floop-interchange -floop-block -floo
p-parallelize-all' LDFLAGS_FOR_TARGET=
Thread model: win32
gcc version 4.8.0 (rubenvb-4.8.0)
Reading specs from c:/opentelemac-mascaret/mingw64/bin/../lib/gcc/x86_64-w64-min
gw32/4.8.0/../../../../lib/libgfortran.spec
rename spec lib to liborig
COLLECT_GCC_OPTIONS='-fopenmp' '-fconvert=big-endian' '-frecord-marker=4' '-v' '
-o' 't2d_gouttedo.exe' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-mthre
ads' '-pthread'
COMPILER_PATH=c:/opentelemac-mascaret/mingw64/bin/../libexec/gcc/x86_64-w64-ming
w32/4.8.0/;c:/opentelemac-mascaret/mingw64/bin/../libexec/gcc/;c:/opentelemac-ma
scaret/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.0/../../../../x86_64-w64-mi
ngw32/bin/
LIBRARY_PATH=c:/opentelemac-mascaret/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4
.8.0/;c:/opentelemac-mascaret/mingw64/bin/../lib/gcc/;c:/opentelemac-mascaret/mi
ngw64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.0/../../../../x86_64-w64-mingw32/lib
/../lib/;c:/opentelemac-mascaret/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.0
/../../../../lib/;c:/opentelemac-mascaret/mingw64/bin/../lib/gcc/x86_64-w64-ming
w32/4.8.0/../../../../x86_64-w64-mingw32/lib/;c:/opentelemac-mascaret/mingw64/bi
n/../lib/gcc/x86_64-w64-mingw32/4.8.0/../../../
Reading specs from c:/opentelemac-mascaret/mingw64/bin/../lib/gcc/x86_64-w64-min
gw32/4.8.0/../../../../lib/libgomp.spec
COLLECT_GCC_OPTIONS='-fopenmp' '-fconvert=big-endian' '-frecord-marker=4' '-v' '
-o' 't2d_gouttedo.exe' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-mthre
ads' '-pthread'
c:/opentelemac-mascaret/mingw64/bin/../libexec/gcc/x86_64-w64-mingw32/4.8.0/col
lect2.exe --sysroot=c:\opentelemac-mascaret\mingw64\bin\../../mingw64 -m i386pep
-Bdynamic -o t2d_gouttedo.exe c:/opentelemac-mascaret/mingw64/bin/../lib/gcc/x8
6_64-w64-mingw32/4.8.0/../../../../x86_64-w64-mingw32/lib/../lib/crt2.o c:/opent
elemac-mascaret/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.0/../../../../x86_
64-w64-mingw32/lib/../lib/crtbegin.o -Lc:/opentelemac-mascaret/mingw64/bin/../li
b/gcc/x86_64-w64-mingw32/4.8.0 -Lc:/opentelemac-mascaret/mingw64/bin/../lib/gcc
-Lc:/opentelemac-mascaret/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.0/../../
../../x86_64-w64-mingw32/lib/../lib -Lc:/opentelemac-mascaret/mingw64/bin/../lib
/gcc/x86_64-w64-mingw32/4.8.0/../../../../lib -Lc:/opentelemac-mascaret/mingw64/
bin/../lib/gcc/x86_64-w64-mingw32/4.8.0/../../../../x86_64-w64-mingw32/lib -Lc:/
opentelemac-mascaret/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.0/../../.. t2
dfort.o --start-group C:\opentelemac-mascaret\v6p3\builds\wing64mpi\lib\telemac2
d\homere_telemac2d.lib C:\opentelemac-mascaret\v6p3\builds\wing64mpi\lib\tomawac
\homere_telemac2d.lib C:\opentelemac-mascaret\v6p3\builds\wing64mpi\lib\sisyphe\
homere_telemac2d.lib C:\opentelemac-mascaret\v6p3\builds\wing64mpi\lib\utils\bie
f\homere_telemac2d.lib C:\opentelemac-mascaret\v6p3\builds\wing64mpi\lib\utils\d
amocles\homere_telemac2d.lib C:\opentelemac-mascaret\v6p3\builds\wing64mpi\lib\u
tils\parallel\homere_telemac2d.lib C:\opentelemac-mascaret\v6p3\builds\wing64mpi
\lib\utils\special\homere_telemac2d.lib C:\opentelemac-mascaret\mpich2\lib\libfm
pich2g.a -lgfortran -lgomp -lmingwthrd -lmingw32 -lgcc_s -lgcc -lmoldname -lming
wex -lmsvcrt -lquadmath -lm -lmingwthrd -lmingw32 -lgcc_s -lgcc -lmoldname -lmin
gwex -lmsvcrt -lpthread -ladvapi32 -lshell32 -luser32 -lkernel32 -lmingwthrd -lm
ingw32 -lgcc_s -lgcc -lmoldname -lmingwex -lmsvcrt c:/opentelemac-mascaret/mingw
64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.0/../../../../x86_64-w64-mingw32/lib/..
/lib/crtend.o
created: t2d_gouttedo.exe
re-copying: t2d_gouttedo.exe C:\opentelemac-mascaret\v6p3\a_test\gouttedo\t2d_
gouttedo.cas_2014-01-07-09h59min09s\out_t2d_gouttedo.exe

... modifying run command to MPI instruction

... modifying run command to PARTEL instruction
partitioning: T2DGEO
+> C:\opentelemac-mascaret\v6p3\builds\wing64mpi\bin\partel.exe < PARTEL.PA
R >> partel_T2DGEO.log
partitioning: T2DREF
+> C:\opentelemac-mascaret\v6p3\builds\wing64mpi\bin\partel.exe < PARTEL.PA
R >> partel_T2DREF.log

... handling sortie file(s)


Running your simulation(s) :
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



C:\opentelemac-mascaret\mpich2\bin\mpiexec.exe -wdir C:\opentelemac-mascaret\v6p
3\a_test\gouttedo\t2d_gouttedo.cas_2014-01-07-09h59min09s -n 2 out_t2d_gouttedo.
exe

*******************************

Then, I've to stop the simulation myself with the keys "Ctrl +c". Here is the following message...


*******************************
mpiexec aborting job...
Traceback (most recent call last):
File "C:\opentelemac-mascaret\v6p3\scripts\python27\telemac2d.py", line 17, in
<module>
main('telemac2d')
File "C:\opentelemac-mascaret\v6p3\scripts\python27\runcode.py", line 1331, in
main
runCAS(cfgname,cfg,codeName,casFiles,options)
File "C:\opentelemac-mascaret\v6p3\scripts\python27\runcode.py", line 1127, in
runCAS
if not runCode(CASFiles[name],CASFiles[name]):
File "C:\opentelemac-mascaret\v6p3\scripts\python27\runcode.py", line 615, in
runCode
t1.join()
File "C:\opentelemac-mascaret\python27\lib\threading.py", line 947, in join
self.__block.wait()
File "C:\opentelemac-mascaret\python27\lib\threading.py", line 339, in wait
waiter.acquire()
KeyboardInterrupt

C:\opentelemac-mascaret\v6p3\a_test\gouttedo>


******************************

Thanks for your help

PL
The administrator has disabled public write access.

Parallele mode problem with Telemac 2d V6P3 10 years 10 months ago #11487

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi
If nothing appear after the running your simulation message, there is a lot of chance that MPI are waiting for an account/password information... which is not shown in this context.
You could check this particular point after the CTRL+C command manually:
Go into the temp directory t2d_gouttedo.cas_2014-01-07-09h59min09s
and execute the command manually mpiexec ...

hope this helps
Christophe
The administrator has disabled public write access.

Parallele mode problem with Telemac 2d V6P3 10 years 10 months ago #11488

  • PLDelage
  • PLDelage's Avatar
You're right Christophe, this was an account/password problem as you said. Unfortunatly, I will have to do this each time I reboot my computer. Is there a way to automate this kind of problem?

Thank you very much,

PL
The administrator has disabled public write access.

Parallele mode problem with Telemac 2d V6P3 10 years 10 months ago #11490

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
There is a program called MPIREGISTER which should allow you to register your login/password and the solve this problem

Regards
Christophe
The administrator has disabled public write access.
The following user(s) said Thank You: PLDelage

Parallele mode problem with Telemac 2d V6P3 10 years 10 months ago #11491

  • PLDelage
  • PLDelage's Avatar
Thanks for the help!!!

Regards,

PL
The administrator has disabled public write access.
Moderators: pham

The open TELEMAC-MASCARET template for Joomla!2.5, the HTML 4 version.