Calcul scientifique (petsc fftw eigen... )¶
Eigen¶
- A c++ library (header only)
- see https://eigen.tuxfamily.org/dox/index.html
- Compile information
-- Enabled backends: Boost.Multiprecision,
-- Default order: Column-major
-- Maximal matrix/vector size: 320
...
-- AVX: Using architecture defaults
-- AVX2: Using architecture defaults
-- FMA: Using architecture defaults
-- AVX512: Using architecture defaults
-- AVX512DQ: Using architecture defaults
...
--
CXX: /softs/gnu/gcc/14.2.0/bin/g++
CXX_VERSION: g++ (GCC) 14.2.0
CXX_FLAGS: -pedantic -Wall -Wextra -Wundef -Wcast-align -Wchar-subscripts -Wnon-virtual-dtor -Wunused-local-type
defs -Wpointer-arith -Wwrite-strings -Wformat-security -Wlogical-op -Wenum-conversion -Wc++11-extensions -Wdouble-promotio
n -Wshadow -Wno-psabi -Wno-variadic-macros -Wno-long-long -fno-check-new -fno-common -fstrict-aliasing
Sparse lib flags:
- Module Usage
homer@jarvis ~ $ module add lib/eigen/
- Module help
homer@jarvis ~ $ module help lib/eigen/ ------------------------------------------------------------------- Module Specific Help for /softs/modulefiles/lib/eigen/3.4.90: modules - loads the Eigen3 environment, This adds /softs/lib/eigen/3.4.90/* to several of the environment variables. Version 3.4.90 -------------------------------------------------------------------
Petsc¶
- the Portable, Extensible Toolkit for Scientific Computation
- version
3.21
- see https://petsc.org/release/
- Compile with
gcc 14
andopenmpi/5.0.5
with additionnal packages (METIS, ML, FFTW, TETGEN, MUMPS, SCOTCH, HYPRE...
)
Compilers:
C Compiler: mpicc -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -Wno-stringop-over
flow -fstack-protector -fvisibility=hidden -O3
Version: gcc (GCC) 14.2.0
C++ Compiler: mpicxx -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -Wno-lto-type-mismatch
-Wno-psabi -fstack-protector -fvisibility=hidden -O3 -std=gnu++14 -fPIC
Version: g++ (GCC) 14.2.0
Fortran Compiler: mpif90 -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wn
o-unused-dummy-argument -g -O0
Version: GNU Fortran (GCC) 14.2.0
Linkers:
Shared linker: mpicc -shared -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -Wno-stringo
p-overflow -fstack-protector -fvisibility=hidden -O3
Dynamic linker: mpicc -shared -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -Wno-string
op-overflow -fstack-protector -fvisibility=hidden -O3
Libraries linked against: -lrt -lquadmath
BlasLapack:
Intel MKL Version: 20250000
Includes: -I/softs/intel/oneapi/2025.0.0/mkl/2025.0/lib/intel64/../include
Libraries: -Wl,-rpath,/softs/intel/oneapi/2025.0.0/mkl/2025.0/lib/intel64 -L/softs/intel/oneapi/2025.0.0/mkl/2025.0/
lib/intel64 -lmkl_intel_lp64 -lmkl_core -lmkl_sequential -lpthread
uses 4 byte integers
MPI:
Version: 3
mpiexec: /softs/mpi/openmpi/5.0.5/bin/mpiexec
Implementation: openmpi
OMPI_VERSION: 5.0.5
X:
Libraries: -lX11
python:
Executable: /usr/bin/python
pthread:
cmake:
Version: 3.30.5
Executable: /softs/devel/cmake/3.30.5/bin/cmake
...
Module Usage
optimized version
homer@jarvis ~ $ module add lib/petsc/3.21/opt
debug version
homer@jarvis ~ $ module add lib/petsc/3.21/dbg
Module help
homer@jarvis ~ $ module help lib/petsc/3.21/opt/ ------------------------------------------------------------------- Module Specific Help for /softs/modulefiles/lib/petsc/3.21/opt/ompi_gcc14: loads the petsc parallel environment optimized version, compiled with Open Mpi gnu14 (gfortran,gcc,g++) and intel mkl blacs/scalapack, 32 bits Integer additionnal lib : HDF5, NETCDF, METIS, PARMETIS, SCOTCH, FFTW, HYPRE, MUMPS, MOAB, MMG, TETGEN, SUNDIALS, ... you need to load compilers/gcc/14.2.0 mpi/openmpi/5.0.5 before! usage : module load compilers/gcc/14.2.0 mpi/openmpi/5.0.5 lib/petsc/3.21/opt/ompi_gcc14 -------------------------------------------------------------------