Child pages
  • Hyak MEEP
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.

srun -p build --time=2:00:00 --mem=100G --pty /bin/bash
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
wget http://ab-initio.mit.edu/libctl/libctl-3.2.2.tar.gz
tar -xvf libctl-3.2.2.tar.gz
wget http://ab-initio.mit.edu/meep/meep-1.3.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
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
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

  • No labels