Running FMDB with ITAPS iMeshiMeshP

(THIS PAGE IS OBSOLETE -- PLEASE SEE http://redmine.scorec.rpi.edu/projects/fmdb/wiki/Compilation)

Compile FMDB with iMesh

  • check out iMesh compliance test

svn co https://svn.scorec.rpi.edu/svn/TSTT/ComplianceTests/iMesh iMesh_ComplianceTest

  • compile FMDB in serial

gmake NODEP=1 TSTT=1 NOSHARED=1 MODELER=null

Then you will get three *.a libs in FMDB/FMDB/lib/, FMDB/SCORECModel/lib, FMDB/SCORECUtil/lib, create one more file: iMesh-Defs.inc using the script below,
copy the libs and this .inc file into the same folder(eg. /users/YOUR_NAME/imesh_develop/lib)


IMESH_CXXFLAGS = -O2
IMESH_CFLAGS = -O2
IMESH_LDFLAGS =
IMESH_CXX_LDFLAGS =
IMESH_CXX_LIBS =

IMESH_INCLUDES = -I$(IMESH_INCLUDEDIR)/FMDB

IMESH_LIBS = -L$(FMDB_IMESH_LIBDIR)/lib -lFMDB -lSCORECModel -lSCORECUtil

IMESH_INCLUDEDIR =/users/YOUR_NAME/imesh_develop/include
FMDB_IMESH_LIBDIR =/users/YOUR_NAME/imesh_develop


  • build iMesh_ComplianceTest

./configure --with-iMesh=/users/YOUR_NAME/imesh_develop/lib
make

  • run iMesh_ComplianceTest

iMesh_unitTest cube.sms

iMeshP Tests

  • compile FMDB with iMeshP impl.

gmake NODEP=1 PARALLEL=openmpi IMESHP=1 MODELER=null checkone
DIR=Testing/iMeshP

  • go to Testing/iMeshP folder, run

/usr/local/openmpi64/latest/bin/mpirun -np 4 ./main part.sms

  • use totalview debugger

http://wiki.ccni.rpi.edu/index.php/16_Rack_CCNI_Blue_Gene#Totalview

/usr/local/openmpi64/latest/bin/mpirun -np 4 -tv ./main part.sms