Hello,
I am running a Telemac 2d example case "wind". I am able to run the case in serial mode.
However when I run the case in parallel using the following command.
python /home/gourish/TELEMAC/v7p1r1/scripts/python27/runcode.py telemac2d -f /home/gourish/TELEMAC/v7p1r1/configs/systel.cis-opensuse.cfg -c susgfopenmpi -s t2d_wind_parallel.cas
I get an error as follows
|runCode: Fail to run
|/usr/local/bin/mpiexec -wdir /home/gourish/TELEMAC/v7p1r1/examples/telemac2d/wind/t2d_wind_parallel.cas_2016-06-24-11h50min24s -n 8 --default-hostfile none /home/gourish/TELEMAC/v7p1r1/examples/telemac2d/wind/t2d_wind_parallel.cas_2016-06-24-11h50min24s/out_t2d_wind
|~~~~~~~~~~~~~~~~~~
|[mpiexec@genvrsys8] match_arg (utils/args/args.c:159): unrecognized argument default-hostfile
|[mpiexec@genvrsys8] HYDU_parse_array (utils/args/args.c:174): argument matching returned error
|[mpiexec@genvrsys8] parse_args (ui/mpich/utils.c:1596): error parsing input array
|[mpiexec@genvrsys8] HYD_uii_mpx_get_parameters (ui/mpich/utils.c:1648): unable to parse user arguments
|[mpiexec@genvrsys8] main (ui/mpich/mpiexec.c:153): error parsing parameters
Here is the complete listing of the run
Loading Options and Configurations
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
_____ __ __
|___ | /_ | /_ |
__ __ _/ / _ __ | | _ __ | |
\ \ / / |_ _| | '_ \ | || '__| | |
\ V / / / | |_) | | || | | |
\_/ /_/ | .__/ |_||_| |_|
| |
|_|
_ _ _____ _____ ____ ___
_| || |_ |___ ||___ ||___ \ |__ \
_ __ ___ __ __ |_ __ _| _/ / _/ / __) | ) |
| '__| / _ \\ \ / / _| || |_ |_ _| |_ _| |__ < / /
| | | __/ \ V / _ |_ __ _| / / / / ___) | / /_
|_| \___| \_/ (_) |_||_| /_/ /_/ |____/ |____|
... parsing configuration file: /home/gourish/TELEMAC/v7p1r1/configs/systel.cis-opensuse.cfg
Running your CAS file for:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+> configuration: susgfopenmpi
+> parallel mode, using mpiexec directly (of the openMPI package).
| The only difference with the scalar versions (optimised) is the presence
| of the key mpi_cmdexec and the -DHAVE_MPI compilation directive.
| Of course, you also need the key par_cmdexec.
| Finally, note that this configuration also works whether
| processor is 0 or 1.
+> root: /home/gourish/TELEMAC/v7p1r1
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
... reading the main module dictionary
... processing the main CAS file(s)
+> running in English
... handling temporary directories
... checking coupling between codes
... checking parallelisation
... first pass at copying all input files
copying: geo_wind.slf /home/gourish/TELEMAC/v7p1r1/examples/telemac2d/wind/t2d_wind_parallel.cas_2016-06-24-11h50min24s/T2DGEO
copying: t2d_wind.f /home/gourish/TELEMAC/v7p1r1/examples/telemac2d/wind/t2d_wind_parallel.cas_2016-06-24-11h50min24s/t2dfort.f
copying: geo_wind.cli /home/gourish/TELEMAC/v7p1r1/examples/telemac2d/wind/t2d_wind_parallel.cas_2016-06-24-11h50min24s/T2DCLI
copying: ini_wind.slf /home/gourish/TELEMAC/v7p1r1/examples/telemac2d/wind/t2d_wind_parallel.cas_2016-06-24-11h50min24s/T2DPRE
copying: fo1_wind /home/gourish/TELEMAC/v7p1r1/examples/telemac2d/wind/t2d_wind_parallel.cas_2016-06-24-11h50min24s/T2DFO1
re-copying: /home/gourish/TELEMAC/v7p1r1/examples/telemac2d/wind/t2d_wind_parallel.cas_2016-06-24-11h50min24s/T2DCAS
copying: telemac2d.dico /home/gourish/TELEMAC/v7p1r1/examples/telemac2d/wind/t2d_wind_parallel.cas_2016-06-24-11h50min24s/T2DDICO
... checking the executable
re-copying: t2d_wind /home/gourish/TELEMAC/v7p1r1/examples/telemac2d/wind/t2d_wind_parallel.cas_2016-06-24-11h50min24s/out_t2d_wind
... modifying run command to MPI instruction
... modifying run command to PARTEL instruction
... partitioning base files (geo, conlim, sections and zones)
+> /home/gourish/TELEMAC/v7p1r1/builds/susgfopenmpi/bin/partel < PARTEL.PAR >> partel_T2DGEO.log
... splitting / copying other input files
partitioning: T2DPRE
+> /home/gourish/TELEMAC/v7p1r1/builds/susgfopenmpi/bin/partel < PARTEL.PAR >> partel_T2DPRE.log
duplicating: T2DFO1
... handling sortie file(s)
Running your simulation(s) :
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/bin/mpiexec -wdir /home/gourish/TELEMAC/v7p1r1/examples/telemac2d/wind/t2d_wind_parallel.cas_2016-06-24-11h50min24s -n 8 --default-hostfile none /home/gourish/TELEMAC/v7p1r1/examples/telemac2d/wind/t2d_wind_parallel.cas_2016-06-24-11h50min24s/out_t2d_wind
_ _ ___ _ _____ __
| | | | |__ \ | | |___ | /_ |
| |_ ___ | | ___ _ __ ___ __ _ ___ ) | __| | ______ __ __ _/ / _ __ | |
| __| / _ \| | / _ \| '_ ` _ \ / _` | / __| / / / _` | |______| \ \ / / |_ _| | '_ \ | |
| |_ | __/| || __/| | | | | || (_| || (__ / /_ | (_| | \ V / / / | |_) | | |
\__| \___||_| \___||_| |_| |_| \__,_| \___||____| \__,_| \_/ /_/ | .__/ |_|
| |
|_|
_____________
runcode::main:
:
|runCode: Fail to run
|/usr/local/bin/mpiexec -wdir /home/gourish/TELEMAC/v7p1r1/examples/telemac2d/wind/t2d_wind_parallel.cas_2016-06-24-11h50min24s -n 8 --default-hostfile none /home/gourish/TELEMAC/v7p1r1/examples/telemac2d/wind/t2d_wind_parallel.cas_2016-06-24-11h50min24s/out_t2d_wind
|~~~~~~~~~~~~~~~~~~
|[mpiexec@genvrsys8] match_arg (utils/args/args.c:159): unrecognized argument default-hostfile
|[mpiexec@genvrsys8] HYDU_parse_array (utils/args/args.c:174): argument matching returned error
|[mpiexec@genvrsys8] parse_args (ui/mpich/utils.c:1596): error parsing input array
|[mpiexec@genvrsys8] HYD_uii_mpx_get_parameters (ui/mpich/utils.c:1648): unable to parse user arguments
|[mpiexec@genvrsys8] main (ui/mpich/mpiexec.c:153): error parsing parameters
Is there any extra parameter which I need to pass to the command. Or is there any change required in
the config file.
I am able to run the v6p3 examples in parallel with the default parallel configuration on my Linux Opensuse Leap 43.1 machine, with 8 processor.
(Which is without Mumps solver, for version 6p3 Telemac)
Thanks,
Gourish