-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompV12_opt.sh
More file actions
executable file
·42 lines (32 loc) · 1.06 KB
/
compV12_opt.sh
File metadata and controls
executable file
·42 lines (32 loc) · 1.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
export DEVROOT=`pwd`
#export VERS=dbg
export VERS=opt
export MESHSIM=/projects/tools/SimmetrixTest/12.0-171109dev
export PARALLEL=openmpi
export PATH=/usr/local/openmpi/1.10.6-gnu49-thread/bin:$PATH
export LD_LIBRARY_PATH=/usr/local/openmpi/1.10.6-gnu49-thread/lib:$LD_LIBRARY_PATH
export CC=mpicc
export CXX=mpicxx
export FC=gfortran
#export CXXFLAGS='-fsanitize=address -fno-omit-frame-pointer -g'
#export CFLAGS='-fsanitize=address -fno-omit-frame-pointer -g'
#export LDFLAGS='-fsanitize=address -fno-omit-frame-pointer -g'
#isclean='distclean'
#compile="make SIM=1 MODELER=geomsim NODEP=1 NOSHARED=1 $isclean"
#setup="make SIM=1 MODELER=geomsim NODEP=1 NOSHARED=1 setup"
compile="make SIM=1 MODELER=parasolid NODEP=1 NOSHARED=1 $isclean"
setup="make SIM=1 MODELER=parasolid NODEP=1 NOSHARED=1 setup"
dest_path=$DEVROOT/phasta/phastaIO/phastaIO
cd $dest_path
$setup
$compile
dest_path=$DEVROOT/phasta/phShape/phShape
cd $dest_path
$setup
$compile
dest_path=$DEVROOT/phasta/phUtil/LU/LU
cd $dest_path
$compile
dest_path=$DEVROOT/phParAdapt-Sim/phParAdapt
cd $dest_path
$compile