Child pages
  • Mox_OpenSees_MP
Skip to end of metadata
Go to start of metadata

Below are the steps to build OpenSeesMP on mox.hyak.
Below steps assume that you have installed MUMPS_4.10.0 compiled with icc_18-impi_2018.

Here xyz is your group name and abc is your hyak userid.

(1) Run below command to get a build node:

srun -p build --time=4:00:00 --mem=10G --pty /bin/bash

(2) module load icc_18-impi_2018

(3) mkdir /gscratch/xyz/abc/opensees_mp

(4) cd /gscratch/xyz/abc/opensees_mp

(5) mkdir lib

(6) mkdir bin

(7) git clone https://github.com/OpenSees/OpenSees

(8) cd OpenSees

(9) pwd (verify that you are in the directory /gscratch/xyz/abc/opensees_mp/OpenSees)

(10) cp /sw/contrib/opensees/Makefile.def.INTEL.PG Makefile.def

(11) Edit the Makefile.def and set the value of HOME and MUMPS_DIR. Note that HOME is near the top of the file and MUMPS_DIR is in the middle of the file. Note the spaces on either side of the =. Note that there should be no spaces after the directory path.

HOME = /gscratch/xyz/abc/opensees_mp

MUMPS_DIR = /gscratch/xyz/abc/MUMPS_4.10.0

(12) cd to the MUMPS_DIR

(13) cd src

(14) ar cr libdmumps.a *.o

(15) cp libdmumps.a ../lib

(16) cd to the MUMPS_DIR

(17) cd PORD/lib

(18) ar cr libpord.a *.o

(19) cp libpord.a ../../lib

(20) cd /gscratch/xyz/abc/opensees_mp/OpenSees

(21) pwd (verify that you are in the directory /gscratch/xyz/abc/opensees_mp/OpenSees)

(22)Run below two commands to clean up any previous makes.

       make clean

       make wipe

(23) cd OTHER/SuperLU_DIST_4.3/SRC

(24) mpiicc -D_NOGRAPHICS -D_PARALLEL_INTERPRETERS -O2 -DMPICH_IGNORE_CXX_SEEK -D_TCL85 -D_BLAS -std=c99 -c pdgstrf.c

(25) cd /gscratch/xyz/abc/opensees_mp/OpenSees

(26) make

(27) You will see some warnings like below. These can be ignored since eventually the linker does find compatible libraries.
ld: skipping incompatible /lib/libm.so when searching for -lm

(28) cd /gscratch/xyz/abc/opensees_mp/bin

(29) ls should list OpenSeesMP


  • No labels