-
Notifications
You must be signed in to change notification settings - Fork 89
tpls
CC=mpicc CFLAGS=-O3 ./configure --64 --prefix=/gpfs/u/home/PGES/PGESjuha/barn/projects/TPL_INSTALL make make install
./configure CC=mpicc FC=mpif90 CXX=mpicxx
CXXFLAGS="-O3 -fPIC" CFLAGS="-O3 -fPIC" FCFLAGS="-O3 -fPIC"
--enable-parallel
--with-zlib=/gpfs/u/home/PGES/PGESjuha/barn/projects/TPL_INSTALL
--prefix=/gpfs/u/home/PGES/PGESjuha/barn/projects/TPL_INSTALL
make -j 8
make install
export myprefix=/gpfs/u/home/PGES/PGESjuha/barn/projects/TPL_INSTALL
./configure CC=mpicc FC=mpifort CXX=mpicxx
CXXFLAGS="-fPIC -I${myprefix}/include -O3 -march=native"
CFLAGS="-fPIC -I${myprefix}/include -O3 -march=native"
LDFLAGS="-fPIC -L${myprefix}/lib -O3 -march=native"
FCFLAGS="-fPIC -I${myprefix}/include -O3 -march=native"
--prefix=${myprefix} --disable-doxygen --enable-netcdf4
make -j 8 make install
echo "using gcc : 4.7.4_1 : /gpfs/u/software/amd64-rhel6/compilers/gcc/4.7.4_1/bin/g++ ;" \
./tools/build/v2/user-config.jam echo "using mpi : /gpfs/u/software/amd64-rhel6/mpi/openmpi/1.8.1_1/gcc-4.7.4_1/bin/mpicxx ;"
./tools/build/v2/user-config.jam ./bootstrap.sh
--with-libraries=signals,regex,filesystem,system,mpi,serialization,thread,program_options,exception
--prefix=/gpfs/u/home/PGES/PGESjuha/barn/projects/TPL_INSTALL
./b2 -j 8 ./b2 -j 8 install
echo "using gcc : 4.7.4_1 : /gpfs/u/software/amd64-rhel6/compilers/gcc/4.7.4_1/bin/g++ ;" \
./tools/build/v2/user-config.jam echo "using mpi : /gpfs/u/software/amd64-rhel6/mpi/openmpi/1.8.1_1/gcc-4.7.4_1/bin/mpicxx ;"
./tools/build/v2/user-config.jam ./bootstrap.sh
--with-libraries=signals,regex,filesystem,system,mpi,serialization,thread,program_options,exception
--prefix=/gpfs/u/home/PGES/PGESjuha/barn/projects/TPL_INSTALL
./b2 -j 8 ./b2 -j 8 install
cd build
export metis=/gpfs/u/home/PGES/PGESjuha/scratch/tpl/parmetis-4.0.3/metis
cmake
-DCMAKE_INSTALL_PREFIX=/gpfs/u/home/PGES/PGESjuha/barn/projects/TPL_INSTALL
-DMETIS_PATH=$metis
-DGKLIB_PATH=$metis/GKlib
-DCMAKE_C_COMPILER=mpicc
-DCMAKE_CXX_COMPILER=mpicxx
..
make -j 8 make install
cp libmetis/libmetis.a /gpfs/u/home/PGES/PGESjuha/barn/projects/TPL_INSTALL/lib cp $metis/include/metis.h /gpfs/u/home/PGES/PGESjuha/barn/projects/TPL_INSTALL/include
mkdir build
ccmake -DCMAKE_INSTALL_PREFIX=/gpfs/u/home/PGES/PGESjuha/barn/projects/TPL_INSTALL .. c c g
make -j 8 make install
############################################################################
############################################################################
PLAT = _linux
DSuperLUroot = /gpfs/u/home/PGES/PGESjuha/scratch/tpl/SuperLU_DIST_4.2 DSUPERLULIB = $(DSuperLUroot)/lib/libsuperlu_dist_4.2.a
BLASDEF = -DUSE_VENDOR_BLAS BLASLIB = /gpfs/u/home/PGES/PGESjuha/barn/projects/TPL_INSTALL/lib/libblas.a /gpfs/u/home/PGES/PGESjuha/barn/projects/TPL_INSTALL/lib/liblapack.a
############################################################################
PARMETIS_DIR := /gpfs/u/home/PGES/PGESjuha/barn/projects/TPL_INSTALL/include
METISLIB := -L/gpfs/u/home/PGES/PGESjuha/barn/projects/TPL_INSTALL/lib -lmetis PARMETISLIB := -L/gpfs/u/home/PGES/PGESjuha/barn/projects/TPL_INSTALL/lib -lparmetis I_PARMETIS := -I${PARMETIS_DIR} ############################################################################
#FLIBS = -lifport -lifcore ## for Intel compiler
LIBS =
ARCH = ar ARCHFLAGS = cr RANLIB = ranlib
############################################################################
CC = mpicc -fPIC
CFLAGS = -O3 -DNDEBUG -fPIC -DUSE_VENDOR_BLAS -DDEBUGlevel=0 -DPRNTlevel=0 -std=c99
$(I_PARMETIS) -DDEBUGlevel=0 -DPRNTlevel=0 -DPROFlevel=0 \
NOOPTS = -O0 -std=c99 ############################################################################
FORTRAN = mpif90 #F90FLAGS = -fast #-Mipa=fast,safe
############################################################################ LOADER = $(CC) LOADOPTS = -Wl,-rpath,/gpfs/u/home/PGES/PGESjuha/scratch/tpl/SuperLU_DIST_4.2/lib -fPIC ############################################################################
CDEFS = -DAdd_
cp SRC/*.h ~/barn/projects/TPL_INSTALL/SuperLU_DIST_4.2/include/ cp lib/libsuperlu_dist_4.2.a ~/barn/projects/TPL_INSTALL/SuperLU_DIST_4.2/lib/
CC=mpicc CFLAGS=-O3 ./configure --64 --static --prefix=/gpfs/u/home/PGES/PGESjuha/barn/projects/TPL_INSTALL make make install
./configure CC=mpicc FC=mpif90 CXX=mpicxx
CXXFLAGS="-O3" CFLAGS="-O3" FCFLAGS="-O3"
--enable-parallel --enable-shared=no
--with-zlib=/gpfs/u/home/PGES/PGESjuha/barn/projects/TPL_INSTALL
--prefix=/gpfs/u/home/PGES/PGESjuha/barn/projects/TPL_INSTALL
make -j 8
make install
export myprefix=/gpfs/u/home/PGES/PGESjuha/barn/projects/TPL_INSTALL
cmake
-DCMAKE_C_COMPILER=mpicc
-DCMAKE_C_FLAGS="-I${myprefix}/include -O2"
-DCMAKE_EXE_LINKER_FLAGS="-L${myprefix}/lib -O2"
-DCMAKE_INSTALL_PREFIX=${myprefix}
-DENABLE_DAP=OFF -DBUILD_SHARED_LIBS=OFF -DENABLE_FSYNC=OFF -DENABLE_CDMREMOTE=OFF
-DENABLE_DOXYGEN=OFF -DENABLE_NETCDF_4=ON -DCMAKE_BUILD_TYPE=RELEASE -DENABLE_EXAMPLES=OFF
-DENABLE_TESTS=OFF -DCMAKE_SKIP_INSTALL_RPATH=ON
-DZLIB_INCLUDE_DIRS=${myprefix}/include
-DZLIB_LIBRARY=${myprefix}/lib/libz.a
-DBUILD_UTILITIES=OFF
..
make -j 8 make install
echo "using gcc : 4.7.2 : /bgsys/drivers/ppcfloor/gnu-linux-4.7.2/bin/powerpc64-bgq-linux-g++ ;" \
./tools/build/v2/user-config.jam echo "using mpi : /bgsys/drivers/ppcfloor/comm/gcc/bin/mpicxx ;"
./tools/build/v2/user-config.jam ./bootstrap.sh
--with-libraries=signals,regex,filesystem,system,mpi,serialization,thread,program_options,exception
--prefix=/gpfs/u/home/PGES/PGESjuha/barn/projects/TPL_INSTALL
./b2 -j 8 ./b2 -j 8 install
echo "using gcc : 4.7.4_1 : /gpfs/u/software/amd64-rhel6/compilers/gcc/4.7.4_1/bin/g++ ;" \
./tools/build/v2/user-config.jam echo "using mpi : /gpfs/u/software/amd64-rhel6/mpi/openmpi/1.8.1_1/gcc-4.7.4_1/bin/mpicxx ;"
./tools/build/v2/user-config.jam ./bootstrap.sh
--with-libraries=signals,regex,filesystem,system,mpi,serialization,thread,program_options,exception
--prefix=/gpfs/u/home/PGES/PGESjuha/barn/projects/TPL_INSTALL
./b2 -j 8 ./b2 -j 8 install
cd build
export metis=/gpfs/u/home/PGES/PGESjuha/scratch/tpl/parmetis-4.0.3/metis
cmake
-DCMAKE_INSTALL_PREFIX=/gpfs/u/home/PGES/PGESjuha/barn/projects/TPL_INSTALL
-DMETIS_PATH=$metis
-DGKLIB_PATH=$metis/GKlib
-DCMAKE_C_COMPILER=mpicc
-DCMAKE_CXX_COMPILER=mpicxx
..
make -j 8 make install
cp libmetis/libmetis.a /gpfs/u/home/PGES/PGESjuha/barn/projects/TPL_INSTALL/lib cp $metis/include/metis.h /gpfs/u/home/PGES/PGESjuha/barn/projects/TPL_INSTALL/include
mkdir build
ccmake -DCMAKE_INSTALL_PREFIX=/gpfs/u/home/PGES/PGESjuha/barn/projects/TPL_INSTALL .. c g
make -j 8 make install
############################################################################
############################################################################
PLAT = _linux
DSuperLUroot = /gpfs/u/home/PGES/PGESjuha/scratch/tpl/SuperLU_DIST_4.2 DSUPERLULIB = $(DSuperLUroot)/lib/libsuperlu_dist_4.2.a
BLASDEF = -DUSE_VENDOR_BLAS BLASLIB = /gpfs/u/home/PGES/PGESjuha/barn/projects/TPL_INSTALL/lib/libblas.a /gpfs/u/home/PGES/PGESjuha/barn/projects/TPL_INSTALL/lib/liblapack.a
############################################################################
PARMETIS_DIR := /gpfs/u/home/PGES/PGESjuha/barn/projects/TPL_INSTALL/include
METISLIB := -L/gpfs/u/home/PGES/PGESjuha/barn/projects/TPL_INSTALL/lib -lmetis PARMETISLIB := -L/gpfs/u/home/PGES/PGESjuha/barn/projects/TPL_INSTALL/lib -lparmetis I_PARMETIS := -I${PARMETIS_DIR} ############################################################################
#FLIBS = -lifport -lifcore ## for Intel compiler
LIBS =
ARCH = ar ARCHFLAGS = cr RANLIB = ranlib
############################################################################
CC = mpicc -fPIC
CFLAGS = -O3 -DNDEBUG -fPIC -DUSE_VENDOR_BLAS -DDEBUGlevel=0 -DPRNTlevel=0 -std=c99
$(I_PARMETIS) -DDEBUGlevel=0 -DPRNTlevel=0 -DPROFlevel=0 \
NOOPTS = -O0 -std=c99 ############################################################################
FORTRAN = mpif90 #F90FLAGS = -fast #-Mipa=fast,safe
############################################################################ LOADER = $(CC) LOADOPTS = -Wl,-rpath,/gpfs/u/home/PGES/PGESjuha/scratch/tpl/SuperLU_DIST_4.2/lib -fPIC ############################################################################
CDEFS = -DAdd_