71
89
--with-netcdf=${SEQ_NC_DIR} \
72
90
--with-netcdf-libs="${SEQ_NC_CLIB}" \
73
91
--with-nc4par=${PAR_NC_DIR} \
74
--with-nc4par-libs="${PAR_NC_CLIB}" \
92
--with-nc4par-libs="${PAR_NC_CLIB}"
93
#--with-dmalloc=/ccs/proj/e2e/qliu/dmalloc.sith.$TARGET
94
#--with-dmalloc=/ccs/proj/e2e/pnorbert/dmalloc.$TARGET
95
#--enable-shared --disable-static
96
#--without-datatap #--without-infiniband
97
#--with-dmalloc=/ccs/proj/e2e/pnorbert/dmalloc.$TARGET
98
#--with-datatap=/ccs/home/habbasi/work/ewok/
101
elif [ `hostname | cut -c 1-4` == "yona" ]; then
107
echo "Configure on Yona for $TARGET env."
108
source /etc/profile.d/modules.sh
113
module unload PE-intel
114
module unload PE-pathscale
115
module unload pgi gcc intel pathscale
116
#module unload python
117
module load PE-$TARGET
120
# Use both seq hdf5 (for utils) and
121
# parallel hdf5 (for PHDF5 method)
122
module load hdf5/1.8.5
123
SEQ_HDF5_DIR=$HDF5_DIR
124
SEQ_HDF5_CLIB=$HDF5_CLIB
126
#module load hdf5/1.8.5_par
127
#PAR_HDF5_DIR=$HDF5_DIR
128
#PAR_HDF5_CLIB=$HDF5_CLIB
130
# Seq. and Parallel NetCDF 4
131
module load netcdf/3.6.2
132
SEQ_NC_DIR=$NETCDF_DIR
133
SEQ_NC_CLIB=$NETCDF_CLIB
135
#module load netcdf/4.1.1_par
136
#PAR_NC_DIR=$NETCDF_DIR
137
#PAR_NC_CLIB=$NETCDF_CLIB
138
#module unload netcdf
142
if [ "$TARGET" == "pgi" ]; then
146
elif [ "$TARGET" == "gnu" ]; then
150
elif [ "$TARGET" == "intel" ]; then
154
elif [ "$TARGET" == "gnu" ]; then
158
elif [ "$TARGET" == "intel" ]; then
163
echo "TARGET must be pgi or gnu or intel"
167
export CFLAGS="-g -fPIC"
168
./configure --prefix=/ccs/proj/e2e/pnorbert/ADIOS/yona.$TARGET \
169
--enable-dependency-tracking \
170
--enable-research-transports \
171
--with-hdf5=${SEQ_HDF5_DIR} \
172
--with-hdf5-libs="${SEQ_HDF5_CLIB}" \
173
--with-netcdf=${SEQ_NC_DIR} \
174
--with-netcdf-libs="${SEQ_NC_CLIB}" \
75
175
--with-lustre=/usr \
76
176
--without-datatap --without-infiniband
177
#--with-phdf5=${PAR_HDF5_DIR} \
178
#--with-phdf5-libs="${PAR_HDF5_CLIB}" \
179
#--with-nc4par=${PAR_NC_DIR} \
180
#--with-nc4par-libs="${PAR_NC_CLIB}" \
77
181
#--with-dmalloc=/ccs/proj/e2e/pnorbert/dmalloc.$TARGET
78
182
#--with-datatap=/ccs/home/habbasi/work/ewok/
79
183
#--enable-datatap=ib
82
186
elif [ `hostname | cut -c 1-4` == "lens" ]; then
83
echo "Configure on LENS"
84
source /etc/profile.d/modules.sh
187
source /etc/profile.d/modules.sh
188
source /etc/profile.d/modules.sh
189
TARGET=`module list 2>&1 | grep "PE"- | sed "s/^.*PE-\([a-z]*\).*/\1/"`
191
if [ -z "$TARGET" ]; then
192
echo "Cannot determine Programming environment. Exit"
195
echo "Configure on LENS for $TARGET env."
85
196
module unload hdf5
86
197
module unload netcdf
87
198
module unload PE-gnu
88
199
module unload PE-pgi
89
200
module unload PE-pathscale
92
202
module load PE-$TARGET
93
204
# Use both seq hdf5 (for utils) and
94
205
# parallel hdf5 (for PHDF5 method)
95
#module load hdf5/1.8.2
206
module load hdf5/1.8.6
96
207
SEQ_HDF5_DIR=$HDF5_DIR
97
208
SEQ_HDF5_CLIB=$HDF5_CLIB
99
#module load hdf5/1.8.2_par
100
PAR_HDF5_DIR=$HDF5_DIR
101
PAR_HDF5_CLIB=$HDF5_CLIB
210
#module load hdf5/1.8.6_ompi1.4.2
211
#PAR_HDF5_DIR=$HDF5_DIR
212
#PAR_HDF5_CLIB=$HDF5_CLIB
102
213
#module unload hdf5
103
214
# Seq NetCDF 3 for bp2ncd
104
215
#module load netcdf/3.6.2
122
233
export CFLAGS="-g -fPIC"
123
./configure --prefix=/ccs/proj/e2e/qliu/ADIOS/sith.$TARGET \
124
--enable-dependency-tracking \
125
--with-mxml=/ccs/proj/e2e/pnorbert/mxml \
126
--enable-research-transports \
128
--with-dmalloc=/ccs/proj/e2e/qliu/dmalloc.lens.$TARGET
130
elif [ `hostname | cut -c 1-6` == "jaguar" -o `hostname | cut -c 1-7` == "chester" ]; then
234
./configure --prefix=/ccs/proj/e2e/pnorbert/ADIOS/lens.$TARGET \
235
--enable-dependency-tracking \
236
--enable-research-transports \
237
--with-hdf5=${SEQ_HDF5_DIR} \
238
--with-hdf5-libs="${SEQ_HDF5_CLIB}" \
240
#--with-mxml=/ccs/proj/e2e/pnorbert/mxml \
243
elif [ `hostname | cut -c 1-5` == "titan" ]; then
246
if [ $BUILD_STAGING == "false" ]; then
252
echo "Configure on TITAN (XK7) for $TARGET env."
254
#export CFLAGS="-Wall -g"
257
source /opt/modules/default/etc/modules.sh
261
module unload netcdf-hdf5parallel
262
module unload hdf5-parallel
264
module unload PrgEnv-gnu
265
module unload PrgEnv-pgi
266
module unload PrgEnv-intel
267
module unload PrgEnv-cray
269
module load PrgEnv-$TARGET
270
module swap xtpe-interlagos xtpe-istanbul
274
# use the two lines below for openmpi
277
CFLAGS="-g -fPIC" ./configure --prefix=/ccs/proj/e2e/qliu/ADIOS/test.$TARGET \
278
--host=titan --host_alias=titan \
279
--enable-dependency-tracking \
280
#--with-hdf5=/opt/cray/hdf5/1.8.7/pgi/109 \
281
#--with-phdf5=/opt/cray/hdf5-parallel/1.8.7/pgi/109 \
282
# --with-lustre=/opt/xt-lustre-ss/2.2_1.6.5/usr
283
# --with-dmalloc=/ccs/proj/e2e/qliu/dmalloc.$TARGET
284
# --enable-research-transports \
285
# --with-netcdf=/opt/cray/netcdf/3.6.2/netcdf-${TARGET} \
286
# --with-nc4par=/opt/cray/netcdf-hdf5parallel/4.0.1.3/netcdf-hdf5parallel-$TARGET \
287
# --with-phdf5=/opt/cray/hdf5-parallel/1.8.4.1/hdf5-parallel-$TARGET \
288
# --with-hdf5=/sw/xt5/hdf5/1.8.2/cnl2.1_gnu7.2.3 \
289
# --with-hdf5=/sw/xt5/hdf5/1.8.2/cnl2.1_gnu4.2.0 \
290
# --with-mxml=/ccs/proj/e2e/pnorbert/mxml.xt5.$TARGET \
294
##########################
296
##########################
298
echo "Configure on TITAN (XK7) including staging methods for $TARGET env."
302
source /opt/modules/default/etc/modules.sh
306
module unload hdf5-parallel
307
module unload netcdf-hdf5parallel
309
module unload PrgEnv-gnu
310
module unload PrgEnv-pgi
311
module unload PrgEnv-intel
312
module unload PrgEnv-cray
314
#module unload xtpe-quadcore
315
module load PrgEnv-$TARGET
316
module swap xtpe-interlagos xtpe-istanbul
317
#module load dataspaces/1.0.0
320
if [ "$TARGET" == "pgi" ]; then
321
#module swap pgi pgi/11.8.0
322
# NSSI needs -pgcpplibs flag
323
export LDFLAGS="-pgcpplibs"
324
DATASPACES_DIR="/ccs/proj/e2e/dataspaces/titan/$TARGET"
325
elif [ "$TARGET" == "gnu" ]; then
326
# NSSI needs libstdc++
327
export EXTRA_LIBS="/opt/gcc/4.7.2/snos/lib64/libstdc++.a"
328
#module swap gcc gcc/4.4.4
329
DATASPACES_DIR="/ccs/proj/e2e/dataspaces/titan/$TARGET"
334
# NOTE hdf5-parallel module does not work with C++ compiler
335
#module load hdf5-parallel
336
#module load netcdf-hdf5parallel
340
# use the two lines below for openmpi
343
export CPPFLAGS="-DMPICH_IGNORE_CXX_SEEK -DDART_DO_VERSIONING"
344
export CFLAGS="-fPIC -g -O0"
345
#./configure --prefix=/ccs/proj/fus022/norbert/RMP/adios.xt5.$TARGET \
346
./configure --prefix=/ccs/proj/e2e/pnorbert/ADIOS/titan.$TARGET \
347
--enable-dependency-tracking \
348
--with-cray-pmi=/opt/cray/pmi/default \
349
--with-cray-ugni-incdir=/opt/cray/gni-headers/default/include \
350
--with-cray-ugni-libdir=/opt/cray/ugni/default/lib \
351
--with-dataspaces=$DATASPACES_DIR
352
#--with-netcdf=/opt/cray/netcdf/3.6.2/netcdf-${TARGET} \
353
#--with-hdf5=/sw/xt5/hdf5/1.8.2/cnl2.1_gnu4.2.0 \
354
#--with-nc4par=/opt/cray/netcdf-hdf5parallel/4.0.1.3/netcdf-hdf5parallel-$TARGET \
355
#--with-phdf5=/opt/cray/hdf5-parallel/1.8.4.1/hdf5-parallel-$TARGET \
356
#--with-dimes=/ccs/proj/e2e/pnorbert/spaces/$TARGET
357
#--with-nssi=/ccs/proj/e2e/pnorbert/nssi/xt5/$TARGET \
358
#--with-datatap=/ccs/home/zf2/work/pe.$TARGET \
359
#--with-datatap=/ccs/proj/e2e/pnorbert/datatap/xt5/$TARGET \
365
elif [ `hostname | cut -c 1-7` == "chester" ]; then
370
TARGET=`module list 2>&1 | grep "PrgEnv"- | sed "s/^.*PrgEnv-\([a-z]*\).*/\1/"`
371
echo "Configure on Chester (XK6) for $TARGET env."
373
#export CFLAGS="-Wall -g"
376
source /opt/modules/default/etc/modules.sh
380
module unload netcdf-hdf5parallel
381
module unload hdf5-parallel
382
module unload PrgEnv-gnu
383
module unload PrgEnv-pgi
384
module unload PrgEnv-intel
385
module unload PrgEnv-cray
388
module load PrgEnv-$TARGET
389
module load dataspaces/1.0.0
390
if [ "$TARGET" == "pgi" ]; then
391
module swap pgi pgi/11.8.0
392
# NSSI needs -pgcpplibs flag
393
export LDFLAGS="-pgcpplibs"
395
WITHDART="--with-dataspaces=$DATASPACES_DIR"
396
elif [ "$TARGET" == "gnu" ]; then
397
# NSSI needs libstdc++
399
export EXTRA_LIBS="/opt/gcc/4.7.1/snos/lib64/libstdc++.a"
400
#module swap gcc gcc/4.4.4
401
WITHDART="--with-dataspaces=$DATASPACES_DIR"
411
# use the two lines below for openmpi
414
CFLAGS="-g -fPIC" ./configure --prefix=/ccs/proj/e2e/pnorbert/ADIOS/chester.$TARGET \
415
--enable-dependency-tracking
416
# --with-cray-pmi=/opt/cray/pmi/default \
417
# --with-cray-ugni-incdir=/opt/cray/gni-headers/2.1-1.0400.4351.3.1.gem/include \
418
# --with-cray-ugni-libdir=/opt/cray/ugni/default/lib \
420
# --with-lustre=/opt/xt-lustre-ss/2.2_1.6.5/usr \
421
# --with-dmalloc=/ccs/proj/e2e/qliu/dmalloc.$TARGET \
422
# --enable-research-transports \
423
# --with-netcdf=/opt/cray/netcdf/3.6.2/netcdf-${TARGET} \
424
# --with-nc4par=/opt/cray/netcdf-hdf5parallel/4.0.1.3/netcdf-hdf5parallel-$TARGET \
425
# --with-phdf5=/opt/cray/hdf5-parallel/1.8.4.1/hdf5-parallel-$TARGET \
426
# --with-hdf5=/sw/xt5/hdf5/1.8.2/cnl2.1_gnu7.2.3 \
427
# --with-hdf5=/sw/xt5/hdf5/1.8.2/cnl2.1_gnu4.2.0 \
428
# --with-mxml=/ccs/proj/e2e/pnorbert/mxml.xt5.$TARGET \
431
elif [ `hostname | cut -c 1-5` == "smoky" ]; then
436
echo "Configure on SMOKY"
437
source /etc/profile.d/modules.sh
442
module unload PE-intel
443
module unload PE-pathscale
444
module unload pgi gcc intel pathscale
446
module load PE-$TARGET
447
# Use both seq hdf5 (for utils) and
448
# parallel hdf5 (for PHDF5 method)
449
#module load hdf5/1.8.5
450
#SEQ_HDF5_DIR=$HDF5_DIR
451
#SEQ_HDF5_DIR=/sw/smoky/hdf5/1.8.5/centos5.5_pgi10.4
452
#SEQ_HDF5_CLIB=$HDF5_CLIB
453
#module unload hdf5/1.8.5
454
#module load hdf5/1.8.5_ompi1.4.2
455
#PAR_HDF5_DIR=$HDF5_DIR
456
#PAR_HDF5_DIR=/sw/smoky/hdf5/1.8.5/centos5.5_pgi10.4_ompi1.4.2
457
#PAR_HDF5_CLIB=$HDF5_CLIB
461
if [ "$TARGET" == "pgi" ]; then
465
elif [ "$TARGET" == "gnu" ]; then
469
elif [ "$TARGET" == "intel" ]; then
474
echo "TARGET must be pgi or gnu"
478
export CFLAGS="-g -fPIC"
479
./configure --prefix=/ccs/proj/e2e/pnorbert/ADIOS/smoky.$TARGET \
480
--enable-dependency-tracking \
481
--enable-research-transports \
482
--with-mxml=/ccs/proj/e2e/pnorbert/mxml.smoky.$TARGET \
483
--without-hdf5 --without-phdf5 \
484
--without-netcdf --without-nc4par \
486
--without-datatap --without-infiniband \
487
#--with-phdf5=${PAR_HDF5_DIR} \
488
#--with-phdf5-libs="${PAR_HDF5_CLIB}" \
489
#--with-hdf5=${SEQ_HDF5_DIR} \
490
#--with-hdf5-libs="${SEQ_HDF5_CLIB}" \
491
#--with-netcdf=${SEQ_NC_DIR} \
492
#--with-netcdf-libs="${SEQ_NC_CLIB}" \
493
#--with-nc4par=${PAR_NC_DIR} \
494
#--with-nc4par-libs="${PAR_NC_CLIB}" \
497
elif [ `hostname | cut -c 1-6` == "jaguar" ]; then
132
499
BUILD_STAGING=false
133
500
if [ $BUILD_STAGING == "false" ]; then
319
686
--with-nc4par=/opt/cray/netcdf-hdf5parallel/4.1.1.0/netcdf-hdf5parallel-${TARGET} \
320
687
--with-dart=/global/homes/p/pnorbert/dart.0628.pgi
690
elif [ `hostname | cut -c 1-6` == "hopper" ]; then
695
echo "Configure on HOPPER for $TARGET env."
701
module unload hdf5-parallel
702
module unload netcdf-hdf5parallel
703
module unload PrgEnv-gnu
704
module unload PrgEnv-pgi
705
module unload PrgEnv-pathscale
706
module unload PrgEnv-cray
708
module load PrgEnv-$TARGET
710
if [ "$TARGET" == "pgi" ]; then
714
export LDFLAGS="-pgcpplibs"
715
WITHDART="--with-dataspaces=/global/homes/p/pnorbert/dataspaces/1.1.0/$TARGET"
716
elif [ "$TARGET" == "gnu" ]; then
721
WITHDART="--with-dataspaces=/global/homes/p/pnorbert/dataspaces/1.1.0/$TARGET"
722
elif [ "$TARGET" == "intel" ]; then
729
echo "TARGET must be pgi or gnu or intel"
732
export CPPFLAGS="-DMPICH_IGNORE_CXX_SEEK"
733
export CFLAGS="-fPIC"
734
./configure --prefix=/global/homes/p/pnorbert/adios/1.4.1/hopper/$TARGET \
735
--enable-dependency-tracking \
736
--with-mxml=$HOME/mxml/mxml.hopper \
739
--with-cray-pmi-incdir=/opt/cray/pmi/default/include \
740
--with-cray-pmi-libdir=/opt/cray/pmi/default/lib64 \
741
--with-cray-ugni-incdir=/opt/cray/gni-headers/default/include \
742
--with-cray-ugni-libdir=/opt/cray/ugni/default/lib64 \
743
--without-hdf5 --without-netcdf
746
elif [ `hostname | cut -c 1-6` == "kraken" ]; then
750
source /opt/modules/default/etc/modules.sh
751
TARGET=`module list 2>&1 | grep PrgEnv | sed "s/^.*Env-\([a-z]*\).*/\1/"`
753
if [ -z "$TARGET" ]; then
754
echo "Cannot determine Programming environment. Exit"
758
echo "Configure KRAKEN for the $TARGET compiler"
766
module unload hdf5-parallel
767
module unload netcdf-hdf5parallel
768
module unload xt-papi
770
if [ "$TARGET" == "pgi" ]; then
771
#module swap pgi pgi/10.4.0
772
# NSSI needs -pgcpplibs flag
774
export LDFLAGS="-pgcpplibs"
775
elif [ "$TARGET" == "gnu" ]; then
776
# NSSI needs libstdc++
777
export EXTRA_LIBS="/opt/gcc/4.4.4/snos/lib64/libstdc++.a"
779
#module swap gcc gcc/4.4.4
784
module load subversion
785
export CPPFLAGS="-DMPICH_IGNORE_CXX_SEEK"
786
export CFLAGS="-fPIC -g -O0"
787
./configure --prefix=/${HOME}/adios/$TARGET \
788
--enable-dependency-tracking \
790
--without-netcdf --without-nc4par --without-hdf5 --without-phdf5 \
791
--with-dataspaces=${HOME}/dataspaces/1.0.0/$TARGET
322
794
elif [ `hostname | cut -c 1-4` == "dyn9" -o `hostname | cut -c 1-3` == "pnb" ]; then
382
857
#--with-hdf5=/home/thkorde/local \
383
858
#--with-netcdf=/home/thkorde/local
385
elif [ `hostname | cut -c 1-5` == "smoky" ]; then
390
echo "Configure on SMOKY"
393
# use the two lines below for openmpi
396
# use for both MPI implementations
397
./configure --prefix=/ccs/home/ge1/work/smoky \
398
--enable-dependency-tracking \
399
--with-mxml=/ccs/home/ge1/work/smoky \
400
--with-hdf5=/sw/xt5/hdf5/1.6.7/cnl2.1_gnu4.2.4 \
401
--with-hdf5-libdir="/sw/xt5/hdf5/1.6.7/cnl2.1_gnu4.2.4/lib -L/sw/xt5/szip/2.1/sles10.1_gnu4.2.4/lib -lsz -lz" \
402
--with-phdf5=/sw/xt5/hdf5/1.6.7/cnl2.1_gnu4.2.4_par \
403
--with-phdf5-libdir="/sw/xt5/hdf5/1.6.7/cnl2.1_gnu4.2.4_par/lib -L/sw/xt5/szip/2.1/sles10.1_gnu4.2.4/lib -lsz -lz" \
404
--with-netcdf=/sw/xt5/netcdf/3.6.2/sles10.1_gnu4.2.0
860
elif [ `hostname | cut -c 1-7` == "esimmon" ]; then
862
#######################
863
# Esimmon Virtual Box #
864
#######################
865
echo "Configure on ESIMMON VirtualBox."
873
#export CFLAGS="-g -fPIC"
874
./configure --prefix=/opt/adios/1.5.0 \
875
--enable-dependency-tracking \
876
--with-mxml=/opt/mxml \
877
--with-hdf5=/opt/hdf5 \
878
--with-phdf5=/opt/phdf5 \
879
--with-netcdf=/opt/netcdf3 \
880
--with-nc4par=/opt/nc4par \
881
--with-flexpath=/opt/chaos
407
echo "Could not determine what machine is this"
408
echo "This script is for configuring adios on the authors' machines"
409
echo "You can study it to figure out how to configure adios on your system"
884
echo "Could not determine what machine is this."
885
echo "This script is for configuring adios on the authors' machines."
886
echo "You can study it to figure out how to configure adios on your system."