YetAnotherCoupler 3.2.0_a
Loading...
Searching...
No Matches
Configuration examples for different systems

Levante (gcc 11.2.0, OpenMPI 4.1.2)

Load toolchain

module load gcc/11.2.0-gcc-11.2.0 openmpi/4.1.2-gcc-11.2.0
spack load libfyaml /fvbhgoq

Building YAXT

autoreconf -i
./configure
make -j8

Building YAC

autoreconf -i
./configure \
CC=mpicc \
FC=mpif90 \
--with-yaxt-lib=$(pwd)/../yaxt/src/.libs \
--with-yaxt-include=$(pwd)/../yaxt/inst_headers
make -j8
Definition __init__.py:1

macOS 13.1 (Ventura) Apple M1 (homebrew gcc 12.2.0, OpenMPI 4.1.4, netcdf 4.9.0)

Building YAXT

./configure \
MPI_LAUNCH="$(which mpirun) --map-by socket:OVERSUBSCRIBE" \
--prefix=<path_to_yaxt> \
--disable-shared
make -j 4
make install

Building YAC

autoreconf -i
./configure \
--with-netcdf-root=/opt/homebrew \
--with-fyaml-include=/opt/homebrew/include \
--with-fyaml-lib=/opt/homebrew/lib \
--with-yaxt-root=<path_to_yaxt> \
--disable-lib-only \
--without-external-mtime \
--enable-silent-rules \
CC=/opt/homebrew/bin/mpicc \
FC=/opt/homebrew/bin/mpif90 \
CFLAGS="-g -Wall" \
FCFLAGS="-g -Wall -fimplicit-none" \
MPI_LAUNCH="$(which mpirun) --map-by socket:OVERSUBSCRIBE"
make -j 4