Skip to end of metadata
Go to start of metadata

Below are steps to install MEEP. Here xyz is your hyak group name and abc is your hyak userid.

qsub -I -q build -l walltime=3:00:00
module load netcdf_fortran+c_4.4.1-icc_15.0
module load icc_15.0
mkdir /gscratch/xyz/abc/meep
mkdir /gscratch/xyz/abc/meep/install_libctl
mkdir /gscratch/xyz/abc/meep/install_meep
cd /gscratch/xyz/abc/meep
tar -xvf libctl-3.2.2.tar.gz
tar -xvf meep-1.3.tar.gz

Install libctl

cd /gscratch/xyz/abc/meep/libctl-3.2.2
./configure --prefix=/gscratch/xyz/abc/meep/install_libctl
make install

Install MEEP with libctl

export PATH=/gscratch/xyz/abc/meep/install_libctl/bin:$PATH
export LDFLAGS="$LDFLAGS -L/gscratch/xyz/abc/meep/install_libctl/lib"
export CPPFLAGS="$CPPFLAGS -I/gscratch/xyz/abc/meep/install_libctl/include"
cd /gscratch/xyz/abc/meep/meep-1.3
./configure --prefix=/gscratch/xyz/abc/meep/install_meep --with-libctl=/gscratch/xyz/abc/meep/install_libctl/share/libctl
make install

You can use below command to check the installation. (Note that 17 tests pass and 2 tests fail. The failing tests are aniso_disp and three_d.)

make check