Hello,
Further exploiting python3 script functionality, I encountered the following problem while submitting jobs using HPC functionality. Python27 scripts work fine.
Here is the output from the TOMAWAC test case friction:
STOP 0
Loading Options and Configurations
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
_ _ _
| | (_) (_)
_ _ _ __ | | __ _ __ ___ __ __ _ __ _ __ ___ __ __ _ ___ _ ___ _ __
| | | || '_ \ | |/ /| '_ \ / _ \ \ \ /\ / /| '_ \ | '__| / _ \\ \ / /| |/ __|| | / _ \ | '_ \
| |_| || | | || < | | | || (_) | \ V V / | | | | | | | __/ \ V / | |\__ \| || (_) || | | |
\__,_||_| |_||_|\_\|_| |_| \___/ \_/\_/ |_| |_| |_| \___| \_/ |_||___/|_| \___/ |_| |_|
Running your CAS file(s) for:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gfmsmpi:
+> root: \\hydra\opentelemac\trunk
+> module: ad / api / artemis / bief
damocles / diffsel / gaia / gretel
hermes / identify_liq_bnd / khione / mascaret
nestor / parallel / partel / postel3d
sisyphe / special / splitsel / stbtel
telemac2d / telemac3d / tomawac / waqtel
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
... processing the steering file
... checking parallelisation
copying: tom_friction.cas -> O:\trunk\examples\tomawac\bottom_friction\tom_friction.cas_2019-04-09-13h28min37s\WACCAS
copying: tomawac.dico -> O:\trunk\examples\tomawac\bottom_friction\tom_friction.cas_2019-04-09-13h28min37s\WACDICO
copying: geo_frot.slf -> O:\trunk\examples\tomawac\bottom_friction\tom_friction.cas_2019-04-09-13h28min37s\WACGEO
copying: geo_frot.cli -> O:\trunk\examples\tomawac\bottom_friction\tom_friction.cas_2019-04-09-13h28min37s\WACCLI
... partitioning base files (geo, conlim, sections, zones and weirs)
+> \\hydra\opentelemac\trunk\builds\gfmsmpi\bin\partel.exe < partel_WACGEO.par >> partel_WACGEO.log
... splitting / copying other input files
... checking the executable
Traceback (most recent call last):
File "\\hydra\opentelemac\trunk\scripts\python3\tomawac.py", line 7, in <module>
main('tomawac')
File "\\hydra\opentelemac\trunk\scripts\python3\runcode.py", line 275, in main
run_study(cas_file, code_name, options)
File "\\hydra\opentelemac\trunk\scripts\python3\execution\run_cas.py", line 142, in run_study
run_hpc_cas(my_study, options)
File "\\hydra\opentelemac\trunk\scripts\python3\execution\run_cas.py", line 116, in run_hpc_cas
my_study.compile_exe(options.bypass)
TypeError: compile_exe() takes 1 positional argument but 2 were given
Any help would be appreciated.
Best Regards,
Costas