# _____ _______________________________ # ____/ TELEMAC Project Definitions /______________________________/ # [Configurations] configs: hyinfompiubu # # _____ _________________________________________________ # ____/ General /_________________________________________________/ # [general] language: 2 modules: system version: 9.0 options: mpi dyn hash_char: # # Suffixes sfx_zip: .tar.gz sfx_lib: .a sfx_obj: .o sfx_exe: sfx_mod: .mod # Validation paths val_root: /examples val_rank: all # Compilers cc: mpicc cflags: -fPIC -O3 fc: mpifort # Core Fortran flags; TELEMAC expects big-endian unformatted files fflags: -cpp -O3 -fPIC -fconvert=big-endian -frecord-marker=4 -DHAVE_MPI # Build commands cmd_obj_c: [cc] [cflags] -c -o cmd_obj: [fc] [fflags] -c cmd_lib: ar cru cmd_exe: [fc] [fflags] -o # Splitter and MPI run par_cmdexec: /partel < >> mpi_cmdexec: mpirun -np mpi_hosts: # ----- Optional library blocks merged in libs_all / incs_all ----- # OpenMPI include dir (Ubuntu 24.04) inc_mpi: -I /usr/lib/x86_64-linux-gnu/openmpi/include # HDF5 (Ubuntu serial headers; change to /usr/include/hdf5/openmpi if using libhdf5-openmpi-dev) inc_hdf5: -I /usr/include/hdf5/openmpi libs_hdf5: -L /usr/lib/x86_64-linux-gnu/hdf5/openmpi -lhdf5_fortran -lhdf5hl_fortran -lhdf5_hl -lhdf5 ldflags_opt: -Wl,-rpath,/usr/lib/x86_64-linux-gnu/hdf5/openmpi ldflags_debug: -Wl,-rpath,/usr/lib/x86_64-linux-gnu/hdf5/openmpi # MED (from SALOME packages in Ubuntu) inc_med: -I /home/HyInfo/opt/salome/BINARIES-UB24.04/medfile/include libs_med: -L /home/HyInfo/opt/salome/BINARIES-UB24.04/medfile/lib -lmedC -lmed -lmedimport # METIS inc_metis: -I /usr/include libs_metis: -L /usr/lib/x86_64-linux-gnu -lmetis # MUMPS + ScaLAPACK (MPI build) inc_mumps: -I /usr/include libs_mumps: -L /usr/lib/x86_64-linux-gnu -ldmumps -lmumps_common -lpord -lscalapack-openmpi -lblas -llapack # Aggregate include and library flags incs_all: [inc_mpi] [inc_hdf5] [inc_med] [inc_metis] [inc_mumps] libs_all: [libs_hdf5] [libs_med] [libs_metis] [libs_mumps] # ===== Build section ===== [hyinfompiubu] brief: Ubuntu 24.04 gfortran + OpenMPI + MED/HDF5 + METIS + MUMPS/ScaLAPACK system: linux mpi: openmpi compiler: gfortran pyd_fcompiler: gnu95 f2py_name: f2py # build tree under =HOMETEL (set by pysource.mint22.sh) bin_dir: /builds/hyinfompiubu/bin lib_dir: /builds/hyinfompiubu/lib obj_dir: /builds/hyinfompiubu/obj # override/extend general flags if needed options: mpi dyn cmd_obj: [fc] [fflags] -c cmd_lib: ar cru cmd_exe: [fc] [fflags] -o # inherit mods_all/incs_all/libs_all from [general] mods_all: -I