Build of LBPM-WIA for summit

This commit is contained in:
James E McClure
2018-02-20 16:09:19 -05:00
parent ac38a2b182
commit ee1ec9e375
2 changed files with 29 additions and 1 deletions

View File

@@ -45,7 +45,7 @@ static int edgeTable[256]={
0x69c, 0x795, 0x49f, 0x596, 0x29a, 0x393, 0x99 , 0x190,
0xf00, 0xe09, 0xd03, 0xc0a, 0xb06, 0xa0f, 0x905, 0x80c,
0x70c, 0x605, 0x50f, 0x406, 0x30a, 0x203, 0x109, 0x0 };
static char triTable[256][16] =
static signed char triTable[256][16] =
{{-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1},
{0, 8, 3, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1},
{0, 1, 9, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1},

28
sample_scripts/configure_summit Executable file
View File

@@ -0,0 +1,28 @@
# load the module for cmake
#module load cmake
#source /gpfs/gpfs_stage1/b6p315aa/setup/setup-mpi.sh
module load cmake/3.6.1 gcc
module load cuda
# configure
rm -rf CMake*
cmake \
-D CMAKE_C_COMPILER:PATH=mpicc \
-D CMAKE_CXX_COMPILER:PATH=mpicxx \
-D CMAKE_C_FLAGS="" \
-D CMAKE_CXX_FLAGS="" \
-D CMAKE_CXX_STANDARD=11 \
-D MPI_COMPILER:BOOL=TRUE \
-D USE_MPI=1 \
-D MPIEXEC=mpirun \
-D USE_DOXYGEN:BOOL=false \
-D USE_EXT_MPI_FOR_SERIAL_TESTS:BOOL=TRUE \
-D CMAKE_BUILD_TYPE:STRING=Release \
-D CUDA_FLAGS="-arch sm_60 -Xptxas=-v -Xptxas -dlcm=cg" \
-D CUDA_HOST_COMPILER="/usr/bin/gcc" \
-D USE_CUDA=1 \
-D USE_TIMER=0 \
~/LBPM-WIA
#make VERBOSE=1 -j1 && make install