Fortran version of python's os module (selected routines only)
export FC=gfortran # or ifort or pgfortran
export CC=gcc # or icc or pgcc
mkdir build
cd build
cmake .. -DCMAKE_Fortran_COMPILER=$FC -DCMAKE_C_COMPILER=$CC
make
./src/stdlib_test
- Fortran/C compiler
- GNU, version 8.0 or newer (
gfortran
/gcc
) - Intel, version 18.0 or newer (
ifort
/icc
) - PGI, not tested (
pgfortran
/pgcc
)
- GNU, version 8.0 or newer (
- cmake, version 3.10 or newer