-
Notifications
You must be signed in to change notification settings - Fork 53
Home
Welcome to the ParallelIO wiki!
pio2 has a new cmake system, and is documented here. These instructions apply to pio1.x:
#First get a copy of the source code from git:
git clone https://github.com/PARALLELIO/ParallelIO.git pio
cd pio
export PIOSRC=`pwd`
git clone https://github.com/PARALLELIO/genf90.git bin
cd bin
git clone https://github.com/CESM-Development/CMake_Fortran_utils.git cmake
cd $SCRATCH
mkdir piobld
cd piobld
#!/bin/sh
module rm PrgEnv-cray cce
module load PrgEnv-pgi
module load cray-netcdf-hdf5parallel/4.3.2
module load cray-parallel-netcdf/1.6.0
module load cmake
module list
rm -f CMakeCache.txt
CC=cc FC=ftn CXX=CC cmake -DPIO_BUILD_TESTS=1 -DPIO_BUILD_TIMING=1 -DCMAKE_SYSTEM_NAME=Catamount -DNETCDF_DIR=$NETCDF_DIR -DPNETCDF_DIR=$PARALLEL_NETCDF_DIR -DCMAKE_C_FLAGS="-O2 -DHAVE_NANOTIME -DBIT64 -DHAVE_VPRINTF -DHAVE_BACKTRACE -DHAVE_SLASHPROC -DHAVE_COMM_F2C -DHAVE_TIMES -DHAVE_GETTIMEOFDAY" -DCMAKE_Fortran_FLAGS="-O2 -DHAVE_NANOTIME -DBIT64 -DHAVE_VPRINTF -DHAVE_BACKTRACE -DHAVE_SLASHPROC -DHAVE_COMM_F2C -DHAVE_TIMES -DHAVE_GETTIMEOFDAY" $PIOSRC
make