From d6725878a52d0029773b278cc2bc2c65e260357d Mon Sep 17 00:00:00 2001 From: Boris Basic <boris.basic@edf.fr> Date: Tue, 8 Feb 2022 15:20:37 +0100 Subject: [PATCH] Use a better method again to set Telemac Python as the default one --- README.md | 2 +- config/pysource.win.bat | 8 +- config/pysource.win.debug.bat | 8 +- config/systel.edf.cfg | 733 ---------------------------------- 4 files changed, 9 insertions(+), 742 deletions(-) delete mode 100644 config/systel.edf.cfg diff --git a/README.md b/README.md index 1a9e1ed..18cadda 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,7 @@ Once you have built the dependencies, you can build TELEMAC-MASCARET: ``` C:\>git clone https://gitlab.pam-retd.fr/otm/telemac-mascaret.git ``` -- Copy the content of this repository `config` directory (pysources and systel configuration file) to TELEMAC-MASCARET `configs` directory: +- Copy the pysource batches from the `config` directory to TELEMAC-MASCARET `configs` directory: ``` C:\>xcopy /e/y wintel\config telemac-mascaret\configs\ ``` diff --git a/config/pysource.win.bat b/config/pysource.win.bat index 302ec17..d6bb6af 100644 --- a/config/pysource.win.bat +++ b/config/pysource.win.bat @@ -12,7 +12,7 @@ set SOURCEFILE=%~dp0%~n0%~x0 rem Configuration file set SYSTELCFG=%HOMETEL%\configs\systel.edf.cfg rem Name of the configuration to use -set USETELCFG=win.gnu +set USETELCFG=win rem Add Python to PATH, its modules to PYTHONPATH and set it as the rem default one to launch Python scripts from the command line @@ -21,11 +21,12 @@ set python=python-3.7.9 endlocal & ( set "PATH=%TELEMACDEPS%\%python%;%TELEMACDEPS%\%python%\Scripts;%PATH%" set "PYTHONPATH=%TELEMACDEPS%\%python%\Lib\site-packages" + reg add HKCU\SOFTWARE\Classes\Python.File\shell\open\command /f /ve /d "\"%TELEMACDEPS%\%python%\python.exe\" \"%%1\" %%*" 1>nul reg delete HKCU\SOFTWARE\Classes\.py\OpenWithProgids /f >nul 2>&1 - reg add HKCU\SOFTWARE\Classes\.py\shell\open\command /ve /f /d "%TELEMACDEPS%\%python%\python.exe \"%%1\" %%*" 1>nul + reg add HKCU\SOFTWARE\Classes\.py\OpenWithProgids /f /v Python.File 1>nul ) -rem Add Mingw to PATH is it is found +rem Add Mingw to PATH if it is found call :find_mingw rem Add TELEMAC binaries directory to PATH @@ -35,7 +36,6 @@ set PATH=%HOMETEL%\scripts\python3;%PATH% set PYTHONPATH=%HOMETEL%\scripts\python3;%PYTHONPATH% set PYTHONPATH=%HOMETEL%\builds\%USETELCFG%\wrap_api\lib;%PYTHONPATH% - rem External libraries versions rem HDF set HDF5HOME=%TELEMACDEPS%\hdf5-1.10.8 diff --git a/config/pysource.win.debug.bat b/config/pysource.win.debug.bat index eccda77..3b855f1 100644 --- a/config/pysource.win.debug.bat +++ b/config/pysource.win.debug.bat @@ -12,7 +12,7 @@ set SOURCEFILE=%~dp0%~n0%~x0 rem Configuration file set SYSTELCFG=%HOMETEL%\configs\systel.edf.cfg rem Name of the configuration to use -set USETELCFG=win.gnu.debug +set USETELCFG=win.debug rem Add Python to PATH, its modules to PYTHONPATH and set it as the rem default one to launch Python scripts from the command line @@ -21,11 +21,12 @@ set python=python-3.7.9 endlocal & ( set "PATH=%TELEMACDEPS%\%python%;%TELEMACDEPS%\%python%\Scripts;%PATH%" set "PYTHONPATH=%TELEMACDEPS%\%python%\Lib\site-packages" + reg add HKCU\SOFTWARE\Classes\Python.File\shell\open\command /f /ve /d "\"%TELEMACDEPS%\%python%\python.exe\" \"%%1\" %%*" 1>nul reg delete HKCU\SOFTWARE\Classes\.py\OpenWithProgids /f >nul 2>&1 - reg add HKCU\SOFTWARE\Classes\.py\shell\open\command /ve /f /d "%TELEMACDEPS%\%python%\python.exe \"%%1\" %%*" 1>nul + reg add HKCU\SOFTWARE\Classes\.py\OpenWithProgids /f /v Python.File 1>nul ) -rem Add Mingw to PATH is it is found +rem Add Mingw to PATH if it is found call :find_mingw rem Add TELEMAC binaries directory to PATH @@ -35,7 +36,6 @@ set PATH=%HOMETEL%\scripts\python3;%PATH% set PYTHONPATH=%HOMETEL%\scripts\python3;%PYTHONPATH% set PYTHONPATH=%HOMETEL%\builds\%USETELCFG%\wrap_api\lib;%PYTHONPATH% - rem External libraries versions rem HDF set HDF5HOME=%TELEMACDEPS%\hdf5-1.10.8 diff --git a/config/systel.edf.cfg b/config/systel.edf.cfg deleted file mode 100644 index 303750b..0000000 --- a/config/systel.edf.cfg +++ /dev/null @@ -1,733 +0,0 @@ -### -### See http://wiki.opentelemac.org/doku.php?id=installation_notes_2_beta -### On how to install telemac -### -# _____ _______________________________ -# ____/ TELEMAC Project Definitions /______________________________/ -# -[Configurations] -configs: S9.gfortran.dyn S9.gfortran S9.gfortran.debug S9.gfortran.verrou - S9.nag S9.nag.debug - S9.intel S9.intel.debug - S10.gfortran.dyn S10.gfortran.debug - S10.nag.dyn S10.nag.debug - gaia.intel.dyn gaia.intel.debug gaia.gnu.dyn gaia.gnu.debug - cronos.intel.dyn cronos.intel.debug cronos.gnu.dyn cronos.gnu.debug - win.gnu win.gnu.debug -# _____ ____________________________________ -# ____/ General /___________________________________/ -# Global declaration used for all configurations -[general] -language: 2 -modules: system -version: main -# -sfx_zip: gztar -sfx_lib: .a -sfx_obj: .o -sfx_mod: .mod -sfx_exe: -# -# -val_root: <root>/examples -# -val_rank: all -# -mods_all: -I <config> -ar: ar -lib_flags: cru -# -# MPI info -# -fc: mpif90 -flags_mpi: -DHAVE_MPI -# Those are for nag.ad -incs_mpi: -kind=byte -I$MPIHOME/include -libs_mpi: -L$MPIHOME/lib -lmpichf90 -lmpich -lopa -lmpl -lrt -lpthread -cmd_doxygen:doxygen - -# -# METIS info -# -libs_metis: -L$METISHOME/lib -lmetis - -# -# MED info -# -incs_med: -I$MEDHOME/include -flags_med: -DHAVE_MED -libs_med: -lm -L$MEDHOME/lib -lmed -L$HDF5HOME/lib -lhdf5 -ldl -lstdc++ -lz - -# -# MUMPS info -# -incs_mumps: -I$MUMPSHOME/include -flags_mumps: -DHAVE_MUMPS -libs_mumps: $MUMPSHOME/lib/libdmumps.a - $MUMPSHOME/lib/libmumps_common.a - $MUMPSHOME/lib/libpord.a - $SCALAPACKHOME/lib/libscalapack.a - -L/local/BLAS -lblas -libs_so_mumps: -L$MUMPSHOME/lib -ldmumps -lmumps_common -lpord - -L$SCALAPACKHOME/lib -lscalapack - -lblas - -libs_so_mumps_mkl: -L$MUMPSHOME/lib -ldmumps -lmumps_common -lpord - -L$MKLDIR -lmkl_scalapack_lp64 -lmkl_blacs_intelmpi_lp64 - -lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core -lmkl_def - -lpthread -lm -ldl - -# -# AED info -# -incs_aed: -I $AEDHOME/include -flags_aed: -DHAVE_AED2 -libs_aed: -L$AEDHOME/lib -laed2 - -# -# GOTM info -# -incs_gotm: -I $GOTMHOME/include -flags_gotm: -DHAVE_GOTM -libs_gotm: -L$GOTMHOME/lib -lturbulence -lutil - -# -# Gfortran info -# -fflags_gfo: -cpp -fconvert=big-endian -frecord-marker=4 -DHAVE_I16 -fflags_debug_gfo: -g -Wall -fcheck=all -fbacktrace -fbounds-check -finit-integer=-1 -finit-real=nan -ffpe-trap=invalid,zero,overflow - -# -# Intel info -# -fflags_intel_new: -cpp -convert big_endian -fflags_intel: [fflags_intel_new] -DNO_INQUIRE_SIZE -fflags_debug_intel: -debug all -check all -traceback -# TODO: -ftrapuv - -# -# Nag info -# -fflags_nag: -fpp -w=obs -Oassumed -convert=BIG_ENDIAN -DNAGFOR -fflags_nag_ad: -fpp -w=obs -Oassumed -DNAGFOR -fflags_debug_nag: -g -gline -C=all - -# -# Cluster info -# -# Dirty hack as there is a bug withing configparser in py3 that removes lines starting with # -sbatch_tag:#SBATCH -hpc_stdin_edf: #!/bin/bash - [sbatch_tag] --job-name=<jobname> - [sbatch_tag] --output=<jobname>-<time>.out - [sbatch_tag] --time=<walltime> - [sbatch_tag] --ntasks=<ncsize> - [sbatch_tag] --partition=<queue> - [sbatch_tag] --exclusive - [sbatch_tag] --nodes=<ncnode> - [sbatch_tag] --ntasks-per-node=<nctile> - source <root>/configs/pysource.<configName>.sh - <py_runcode> -hpc_runcode_edf: bash <root>/scripts/submit_slurm.sh <id_log> -par_cmd_exec_edf: srun -n 1 -N 1 <config>/partel < <partel.par> >> <partel.log> - -# mpic_cmedexec style submit (for nag) -hpc_stdin_cmdexec_edf: #!/bin/bash - [sbatch_tag] --job-name=<jobname> - [sbatch_tag] --output=<jobname>-<time>.out - [sbatch_tag] --time=<walltime> - [sbatch_tag] --ntasks=<ncsize> - [sbatch_tag] --partition=<queue> - [sbatch_tag] --exclusive - [sbatch_tag] --nodes=<ncnode> - [sbatch_tag] --ntasks-per-node=<nctile> - source <root>/configs/pysource.<configName>.sh - <mpi_cmdexec> -hpc_cmdexec_edf: ret=`sbatch < HPC_STDIN`;id=`echo $ret|tr ' ' '\n'|tail -n 1`;dir=`readlink -f ..`;echo "$id;$dir" >> <id_log>; echo $ret -# -# Gcov info -# -flags_gcov: -fprofile-arcs -ftest-coverage -fPIC - -# -# Generic info -# - -mpi_cmdexec: mpirun -np <ncsize> <exename> - -cmd_obj: [fc] -c [obj_flags] <mods> <incs> <f95name> -cmd_lib: [ar] [lib_flags] <libname> <objs> -cmd_exe: [fc] [exe_flags] -o <exename> <objs> <libs> - -incs_all: [incs_med] [incs_mumps] [incs_aed] [incs_gotm] -libs_all: [libs_mumps] [libs_med] [libs_metis] [libs_aed] [libs_gotm] -# Link with shared libraries -libs_so: [libs_so_mumps] [libs_med] [libs_metis] [libs_aed] [libs_gotm] -# -cmd_obj_c: gcc -c [cflags] <srcName> -o <objName> -cflags: -# -# _____ __________________________________ -# ____/ Scibian9 _________________________________/ -# -# Gfortran -# -[S9.gfortran] -brief: Gfortran compiler 6.3.0 with open_mpi for a Debian 9 -options: api -# -f2py_name: f2py3 -pyd_fcompiler: gnu95 -sfx_lib: .so -# -obj_flags: -O2 -fPIC [fflags_gfo] [flags_mpi] [flags_mumps] [flags_med] [flags_aed] [flags_gotm] -lib_flags: -fPIC -shared [fflags_gfo] -# -exe_flags: -fPIC [fflags_gfo] -# -cmd_lib: [fc] [lib_flags] -o <libname> <objs> -libs_all: [libs_so] -cflags: -fPIC -# -[S9.gfortran.dyn] -brief: Gfortran compiler 6.3.0 with open_mpi for a Debian 9 with real dynamic compilation You need to add $HOMETEL/builds/$USETELCFG/lib to LD_LIBRARY_PATH to make it work -options: api dyn -# -f2py_name: f2py3 -pyd_fcompiler: gnu95 -sfx_lib: .so -# -obj_flags: -O2 -fPIC [fflags_gfo] [flags_mpi] [flags_mumps] [flags_med] [flags_aed] [flags_gotm] -lib_flags: -fPIC -shared [fflags_gfo] -# -exe_flags: -fPIC [fflags_gfo] -# -cmd_lib: [fc] [lib_flags] -o <libname> <objs> <libs> -libs_all: [libs_so] -cflags: -fPIC -# -[S9.gfortran.debug] -brief: Debug mode Gfortran compiler 6.3.0 with open_mpi for a Debian 9 -options: api -# -f2py_name: f2py3 -pyd_fcompiler: gnu95 -sfx_lib: .so -# -obj_flags: -c -O0 -fPIC [fflags_gfo] [fflags_debug_gfo] [flags_mpi] [flags_mumps] [flags_med] [flags_aed] [flags_gotm] -lib_flags: -fPIC -shared [fflags_gfo] [fflags_debug_gfo] -# -exe_flags: -fPIC [fflags_gfo] -libs_all: [libs_so] -# -cflags: -fPIC -# -cmd_lib: [fc] [lib_flags] -o <libname> <objs> -# -# -[S9.gfortran.verrou] -brief: Gfortran compiler 6.3.0 with open_mpi for a Debian 9 all libraries are compiled in dynamic with execution using valgrin/verrou -options: api -# -mpi_cmdexec: mpiexec -np <ncsize> valgrind --tool=verrou --demangle=no --rounding-mode=random --exclude=<root>/lib.ex <exename> -# -f2py_name: f2py3 -pyd_fcompiler: gnu95 -sfx_lib: .so -# -obj_flags: -O2 -fPIC -g [fflags_gfo] [flags_mpi] [flags_mumps] [flags_med] [flags_aed] -lib_flags: -fPIC -shared -g [fflags_gfo] -# -exe_flags: -fPIC [fflags_gfo] -# -cmd_lib: [fc] [lib_flags] -o <libname> <objs> -libs_all: [libs_so] -cflags: -fPIC -# -# Intel -# -[S9.intel] -brief: Intel compiler 10.1 with mpich for a Debian 9 -# -modules: system -mascaret -options: api -# -f2py_name: f2py3.5 -pyd_fcompiler: intelem -sfx_lib: .so -# -obj_flags: -O2 -fPIC [fflags_intel] [flags_mpi] [flags_mumps] [flags_med] -lib_flags: -fPIC -shared [fflags_intel] -exe_flags: -fPIC -convert big_endian -# -cmd_lib: [fc] [lib_flags] -o <libname> <objs> -incs_all: [incs_med] [incs_mumps] -libs_all: [libs_so_mumps] [libs_med] [libs_metis] -cflags: -fPIC -[S9.intel.debug] -brief: Debug Intel compiler 10.1 with mpich for a Debian 9 -# -modules: system -mascaret -options: api -# -f2py_name: f2py3.5 -pyd_fcompiler: intelem -sfx_lib: .so -# -obj_flags: -O0 -fPIC [fflags_intel] [fflags_debug_intel] [flags_mpi] [flags_mumps] [flags_med] -lib_flags: -fPIC -shared [fflags_intel] [fflags_debug_intel] -exe_flags: -fPIC -convert big_endian -# -cmd_lib: [fc] [lib_flags] -o <libname> <objs> -incs_all: [incs_med] [incs_mumps] -libs_all: [libs_so_mumps] [libs_med] [libs_metis] -cflags: -fPIC -# -# Nag -# -[S9.nag] -brief: Nag compiler 6.2 with mpich for a Debian 9 -modules: system -options: api hermes_only -# -f2py_name: f2py3.5 -pyd_fcompiler: nagfor -sfx_lib: .so -f2py_opt: -kind=byte -PIC -# -obj_flags: -O2 -PIC [fflags_nag] [flags_mpi] [flags_mumps] [flags_med] [flags_gotm] -lib_flags: -PIC -Wl,-shared [fflags_nag] -# -exe_flags: -PIC [fflags_nag] -# -cmd_lib: [fc] [lib_flags] -o <libname> <objs> -incs_all: [incs_med] [incs_mumps] [incs_gotm] -libs_all: [libs_so_mumps] [libs_med] [libs_metis] [libs_gotm] -cflags: -fPIC -# -[S9.nag.debug] -brief: Debug Nag compiler 6.2 with mpich for a Debian 9 -modules: system -options: api hermes_only -# -f2py_name: f2py3.5 -pyd_fcompiler: nagfor -sfx_lib: .so -f2py_opt: -kind=byte -PIC -# -obj_flags: -O0 -PIC [fflags_nag] [fflags_debug_nag] [flags_mpi] [flags_mumps] [flags_med] [flags_gotm] -lib_flags: -PIC -Wl,-shared [fflags_nag] [fflags_debug_nag] -# -exe_flags: -PIC [fflags_nag] -# -cmd_lib: [fc] [lib_flags] -o <libname> <objs> -incs_all: [incs_med] [incs_mumps] [incs_gotm] -libs_all: [libs_so_mumps] [libs_med] [libs_metis] [libs_gotm] -cflags: -fPIC -# -# _____ __________________________________ -# ____/ Scibian10 _________________________________/ -# -# Gfortran -# -[S10.gfortran.dyn] -brief: Gfortran compiler 8.3.0 with open_mpi for a Debian 10 -options: api -# -f2py_name: f2py3 -pyd_fcompiler: gnu95 -sfx_lib: .so -# -obj_flags: -O2 -fPIC [fflags_gfo] [flags_mpi] [flags_mumps] [flags_med] [flags_aed] [flags_gotm] -lib_flags: -fPIC -shared [fflags_gfo] -# -exe_flags: -fPIC [fflags_gfo] -# -cmd_lib: [fc] [lib_flags] -o <libname> <objs> -libs_all: [libs_so] -cflags: -fPIC -# -[S10.gfortran.debug] -brief: Debug mode Gfortran compiler 8.3.0 with open_mpi for a Debian 10 -options: api -# -f2py_name: f2py3 -pyd_fcompiler: gnu95 -sfx_lib: .so -# -obj_flags: -c -O0 -fPIC [fflags_gfo] [fflags_debug_gfo] [flags_mpi] [flags_mumps] [flags_med] [flags_aed] [flags_gotm] -lib_flags: -fPIC -shared [fflags_gfo] [fflags_debug_gfo] -# -exe_flags: -fPIC [fflags_gfo] -libs_all: [libs_so] -# -cflags: -fPIC -# -cmd_lib: [fc] [lib_flags] -o <libname> <objs> -# -# Nag -# -[S10.nag.dyn] -brief: Nag compiler 6.2 with Open MPI for a Debian 10 -modules: system -options: api hermes_only -# -f2py_name: f2py3 -pyd_fcompiler: nagfor -sfx_lib: .so -f2py_opt: -kind=byte -PIC -# -obj_flags: -O2 -PIC -kind=byte [fflags_nag] [flags_mpi] [flags_mumps] [flags_med] [flags_gotm] -lib_flags: -PIC -Wl,-shared [fflags_nag] -# -exe_flags: -PIC [fflags_nag] -# -cmd_lib: [fc] [lib_flags] -o <libname> <objs> -incs_all: [incs_med] [incs_mumps] [incs_gotm] -libs_all: [libs_so_mumps] [libs_med] [libs_metis] [libs_gotm] -cflags: -fPIC -# -[S10.nag.debug] -brief: Debug Nag compiler 6.2 with Open MPI for a Debian 10 -modules: system -options: api hermes_only -# -f2py_name: f2py3 -pyd_fcompiler: nagfor -sfx_lib: .so -f2py_opt: -kind=byte -PIC -# -obj_flags: -O0 -PIC -kind=byte [fflags_nag] [fflags_debug_nag] [flags_mpi] [flags_mumps] [flags_med] [flags_gotm] -lib_flags: -PIC -Wl,-shared [fflags_nag] [fflags_debug_nag] -# -exe_flags: -PIC [fflags_nag] -# -cmd_lib: [fc] [lib_flags] -o <libname> <objs> -incs_all: [incs_med] [incs_mumps] [incs_gotm] -libs_all: [libs_so_mumps] [libs_med] [libs_metis] [libs_gotm] -cflags: -fPIC -# -# _____ ____________________________________ -# ____/ Gaia cluster /___________________________________/ -# -[gaia.intel.dyn] -brief: Intel compiler 2017 with intel mpi 2017.0.998 in dynamic -# -sfx_lib: .so -options: mpi hpc api -# -f2py_name: f2py3 -pyd_fcompiler: intelem -# -par_cmdexec: [par_cmd_exec_edf] -# -hpc_stdin: [hpc_stdin_edf] -# -hpc_runcode: [hpc_runcode_edf] -# -obj_flags: -O2 -fPIC [fflags_intel] [flags_mpi] [flags_med] [flags_mumps] [flags_aed] [flags_gotm] -lib_flags: -fPIC -shared [fflags_intel] -# -exe_flags: -fPIC -cmd_lib: [fc] [lib_flags] -o <libname> <objs> -# -libs_all: [libs_so] -cmd_obj_c: icc -c [cflags] <srcName> -o <objName> -cflags: -fPIC -# -[gaia.intel.debug] -brief: Debug mode Intel compiler 2017 with intel mpi 2017.0.998 in dynamic -# -sfx_lib: .so -options: mpi hpc api -# -f2py_name: f2py3 -pyd_fcompiler: intelem -# -par_cmdexec: [par_cmd_exec_edf] -# -hpc_stdin: [hpc_stdin_edf] -# -hpc_runcode: [hpc_runcode_edf] -# -obj_flags: -O0 -fPIC [fflags_intel] [fflags_debug_intel] [flags_mpi] [flags_med] [flags_mumps] [flags_aed] [flags_gotm] -lib_flags: -fPIC -shared [fflags_intel] -g -# -exe_flags: -fPIC [fflags_debug_intel] -cmd_lib: [fc] [lib_flags] -o <libname> <objs> -# -libs_all: [libs_so] -cmd_obj_c: icc -c [cflags] <srcName> -o <objName> -cflags: -fPIC -# -[gaia.gnu.dyn] -brief: Gfortran 6.3.0 with mpi in dynamic -# -f2py_name: f2py3 -pyd_fcompiler: gnu95 -# -sfx_lib: .so -options: mpi hpc api -# -par_cmdexec: [par_cmd_exec_edf] -# -hpc_stdin: [hpc_stdin_edf] -# -hpc_runcode: [hpc_runcode_edf] -# -obj_flags: -O2 -fPIC [fflags_gfo] [flags_mpi] [flags_med] [flags_mumps] [flags_aed] [flags_gotm] -lib_flags: -fPIC -shared [fflags_gfo] -# -exe_flags: -fPIC -cmd_lib: [fc] [lib_flags] -o <libname> <objs> -# -libs_all: [libs_so] -cflags: -fPIC -# -[gaia.gnu.debug] -brief: Debug mode Gfortran 6.3.0 with mpi in dynamic -# -# -f2py_name: f2py3 -pyd_fcompiler: gnu95 -sfx_lib: .so -options: mpi hpc api -# -par_cmdexec: [par_cmd_exec_edf] -# -hpc_stdin: [hpc_stdin_edf] -# -hpc_runcode: [hpc_runcode_edf] -# -obj_flags: -fPIC [fflags_gfo] [fflags_debug_gfo] [flags_mpi] [flags_med] [flags_mumps] [flags_aed] [flags_gotm] -lib_flags: -fPIC -shared [fflags_gfo] -g -# -exe_flags: -fPIC [fflags_debug_gfo] -cmd_lib: [fc] [lib_flags] -o <libname> <objs> -# -libs_all: [libs_so] -cflags: -fPIC -# _____ ____________________________________ -# ____/ Cronos cluster /___________________________________/ -# -[cronos.intel.dyn] -brief: Debug mode Intel compiler 2020 with intel mpi 2019.4.304 in dynamic -# -sfx_lib: .so -options: mpi hpc api -# -f2py_name: f2py3 -pyd_fcompiler: intelem -f2py_opt: -qopenmp -# -par_cmdexec: [par_cmd_exec_edf] -# -hpc_stdin: [hpc_stdin_edf] -# -hpc_runcode: [hpc_runcode_edf] -# -obj_flags: -O2 -fPIC [fflags_intel] [flags_mpi] [flags_med] [flags_mumps] [flags_aed] [flags_gotm] -lib_flags: -fPIC -shared -qopenmp [fflags_intel] -# -exe_flags: -fPIC -qopenmp -cmd_lib: [fc] [lib_flags] -o <libname> <objs> -# -libs_all: [libs_so_mumps_mkl] [libs_med] [libs_metis] [libs_aed] [libs_gotm] -cmd_obj_c: icc -c [cflags] <srcName> -o <objName> -cflags: -fPIC -# -[cronos.intel.debug] -brief: Debug mode Intel compiler 2020 with intel mpi 2019.4.304 in dynamic -# -sfx_lib: .so -options: mpi hpc api -# -f2py_name: f2py3 -pyd_fcompiler: intelem -# -par_cmdexec: [par_cmd_exec_edf] -# -hpc_stdin: [hpc_stdin_edf] -# -hpc_runcode: [hpc_runcode_edf] -# -obj_flags: -O0 -fPIC [fflags_intel] [fflags_debug_intel] [flags_mpi] [flags_med] [flags_mumps] [flags_aed] [flags_gotm] -lib_flags: -fPIC -shared -qopenmp [fflags_intel] -g -# -exe_flags: -fPIC [fflags_debug_intel] -qopenmp -cmd_lib: [fc] [lib_flags] -o <libname> <objs> -# -libs_all: [libs_so_mumps_mkl] [libs_med] [libs_metis] [libs_aed] [libs_gotm] -cmd_obj_c: icc -c [cflags] <srcName> -o <objName> -cflags: -fPIC -# -[cronos.gnu.dyn] -brief: Gfortran 8.3.1 with mpi in dynamic -# -f2py_name: f2py3 -pyd_fcompiler: gnu95 -# -sfx_lib: .so -options: mpi hpc api -# -par_cmdexec: [par_cmd_exec_edf] -# -hpc_stdin: [hpc_stdin_edf] -# -hpc_runcode: [hpc_runcode_edf] -# -obj_flags: -O2 -fPIC [fflags_gfo] [flags_mpi] [flags_med] [flags_mumps] [flags_aed] [flags_gotm] -lib_flags: -fPIC -shared [fflags_gfo] -# -exe_flags: -fPIC -cmd_lib: [fc] [lib_flags] -o <libname> <objs> -# -libs_all: [libs_so] -cflags: -fPIC -# -[cronos.gnu.debug] -brief: Debug mode Gfortran 8.3.1 with mpi in dynamic -# -# -f2py_name: f2py3 -pyd_fcompiler: gnu95 -sfx_lib: .so -options: mpi hpc api -# -par_cmdexec: [par_cmd_exec_edf] -# -hpc_stdin: [hpc_stdin_edf] -# -hpc_runcode: [hpc_runcode_edf] -# -obj_flags: -fPIC [fflags_gfo] [fflags_debug_gfo] [flags_mpi] [flags_med] [flags_mumps] [flags_aed] [flags_gotm] -lib_flags: -fPIC -shared [fflags_gfo] -g -# -exe_flags: -fPIC [fflags_debug_gfo] -cmd_lib: [fc] [lib_flags] -o <libname> <objs> -# -libs_all: [libs_so] -cflags: -fPIC -# -# _____ _______________________________ -# ____/ Windows 10 /______________________________/ -# -[win.gnu] -brief: Windows 10 with gfortran and mpich (from automatic installer) -# -options: api dyn -# -f2py_name: f2py -f2py_opt: -O3 -pyd_compiler: mingw32 -pyd_fcompiler: gnu95 -# -obj_flags: -O2 -fPIC [fflags_gfo] [flags_mpi] [flags_mumps] [flags_med] [flags_aed] [flags_gotm] -lib_flags: -fPIC -shared [fflags_gfo] -Wl,--subsystem,windows,--out-implib,<libname>.a -# -exe_flags: -fPIC [fflags_gfo] -# -cmd_lib: [fc] [lib_flags] -o <libname> <objs> <libs> -cflags: -fPIC -# -sfx_exe: .exe -sfx_lib: .dll -# -# METIS info -# -libs_metis: -L%METISHOME%/lib -lmetis -# -# MED info -# -incs_med: -I%MEDHOME%/include -flags_med: -DHAVE_MED -libs_med: -lm -L%MEDHOME%/lib -lmed -lmedfwrap -L%HDF5HOME%/lib -lhdf5 -ldl -lstdc++ -# -# MSMPI info -# -libs_mpi: -L%MPIHOME%/lib -lmsmpi -mpi_cmdexec: mpiexec -n <ncsize> <exename> -# -# -# MUMPS info -# -incs_mumps: -I%MUMPSHOME%/include -flags_mumps: -DHAVE_MUMPS -libs_mumps: -L%MUMPSHOME%/lib -ldmumps -lmumps_common -lpord - -L%SCALAPACKHOME%/lib -lscalapack - -L%LAPACKHOME%/lib -llapack -lblas -# -# AED info -# -incs_aed: -I%AEDHOME%/include -flags_aed: -DHAVE_AED2 -libs_aed: -L%AEDHOME%/lib -laed2 -# -# GOTM info -# -incs_gotm: -I%GOTMHOME%/include -flags_gotm: -DHAVE_GOTM -libs_gotm: -L%GOTMHOME%/lib -lturbulence -lutil -# -incs_all: [incs_med] [incs_mumps] [incs_aed] [incs_gotm] -libs_all: -lgfortran [libs_med] [libs_metis] [libs_mumps] [libs_mpi] [libs_aed] [libs_gotm] -# -[win.gnu.debug] -brief: Debug mode Windows 10 with gfortran and mpich (from automatic installer) -# -options: api dyn -# -f2py_name: f2py -f2py_opt: -O3 -pyd_compiler: mingw32 -pyd_fcompiler: gnu95 -# -obj_flags: -c -O0 -fPIC [fflags_gfo] [fflags_debug_gfo] [flags_mpi] [flags_mumps] [flags_med] [flags_aed] [flags_gotm] -lib_flags: -fPIC -shared [fflags_gfo] [fflags_debug_gfo] -Wl,--subsystem,windows,--out-implib,<libname>.a -# -exe_flags: -fPIC [fflags_gfo] [fflags_debug_gfo] -# -cmd_lib: [fc] [lib_flags] -o <libname> <objs> <libs> -cflags: -fPIC -# -sfx_exe: .exe -sfx_lib: .dll -# -# METIS info -# -libs_metis: -L%METISHOME%/lib -lmetis -# -# MED info -# -incs_med: -I%MEDHOME%/include -flags_med: -DHAVE_MED -libs_med: -lm -L%MEDHOME%/lib -lmed -lmedfwrap -L%HDF5HOME%/lib -lhdf5 -ldl -lstdc++ -# -# MSMPI info -# -libs_mpi: -L%MPIHOME%/lib -lmsmpi -mpi_cmdexec: mpiexec -n <ncsize> <exename> -# -# -# MUMPS info -# -incs_mumps: -I%MUMPSHOME%/include -flags_mumps: -DHAVE_MUMPS -libs_mumps: -L%MUMPSHOME%/lib -ldmumps -lmumps_common -lpord - -L%SCALAPACKHOME%/lib -lscalapack - -L%LAPACKHOME%/lib -llapack -lblas -# -# AED info -# -incs_aed: -I%AEDHOME%/include -flags_aed: -DHAVE_AED2 -libs_aed: -L%AEDHOME%/lib -laed2 -# -# GOTM info -# -incs_gotm: -I%GOTMHOME%/include -flags_gotm: -DHAVE_GOTM -libs_gotm: -L%GOTMHOME%/lib -lturbulence -lutil -# -incs_all: [incs_med] [incs_mumps] [incs_aed] [incs_gotm] -libs_all: -lgfortran [libs_med] [libs_metis] [libs_mumps] [libs_mpi] [libs_aed] [libs_gotm] -- GitLab