Commit d63d99fc authored by Andrew Strong's avatar Andrew Strong

manual_compile_newlibs_healpix-3.60_newgcc_newgcc, link, compile_one: use setenv variables

parent cf5892b3
......@@ -3,5 +3,43 @@ module load gcc
echo new cfitsio CCfits healpix-3.60 with load gcc
g++ -I. -I.. -I/afs/ipp-garching.mpg.de/home/a/aws/propagate/c/cfitsio/3.47/cfitsio-3.47/build/include -I/afs/ipp-garching.mpg.de/home/a/aws/propagate/c/CCfits/CCfits-2.5_cfitsio_3.47/CCfits/build/usr/local/include -I/afs/ipp-garching.mpg.de/home/a/aws/Healpix/Healpix_3.60_module_load_gcc/include/healpix_cxx -I/afs/ipp-garching.mpg.de/home/a/aws/Healpix/Healpix_3.60_module_load_gcc/include/libsharp -I/afs/ipp-garching.mpg.de/home/a/aws/propagate/c/CLHEP/2.0.4.3/installed_here/include -I/afs/ipp-garching.mpg.de/home/a/aws/gsl/gsl-1.10/olga/include -I/afs/ipp-garching.mpg.de/home/a/aws/volume3/root_v5.34.13/root/include -I/afs/ipp/u/aws/propagate/c/sla_c_g++/include -DHAVE_ALM_HEALPIX_TOOLS_H -DGALDEF_PATH=\"/afs/ipp/u/aws/propagate/c/GALDEF\" -DFITSDATA_PATH=\"/afs/ipp/u/aws/propagate/c/FITS\" -DDATA_PATH=\"/afs/ipp/u/aws/propagate/c/gitlab/galprop/version_54/source/fortran_data\" -O3 -fopenmp -c *.cc
setenv CFITSIO_DIR /afs/ipp-garching.mpg.de/home/a/aws/propagate/c/cfitsio/3.47/cfitsio-3.47/build
setenv CCFITS_DIR /afs/ipp-garching.mpg.de/home/a/aws/propagate/c/CCfits/CCfits-2.5_cfitsio_3.47/CCfits/build/usr/local
setenv HEALPIX_DIR /afs/ipp-garching.mpg.de/home/a/aws/Healpix/Healpix_3.60_module_load_gcc/
setenv CLHEP_DIR /afs/ipp-garching.mpg.de/home/a/aws/propagate/c/CLHEP/2.0.4.3/installed_here
setenv GSL_DIR /afs/ipp-garching.mpg.de/home/a/aws/gsl/gsl-1.10/olga
setenv ROOT_DIR /afs/ipp-garching.mpg.de/home/a/aws/volume3/root_v5.34.13/root
setenv SLA_C_DIR /afs/ipp/u/aws/propagate/c/sla_c_g++
echo libraries
echo $CFITSIO_DIR
echo $CCFITS_DIR
echo $HEALPIX_DIR
echo $CLHEP_DIR
echo $GSL_DIR
echo $SLA_C_DIR
echo $ROOT_DIR
echo -D
setenv GALDEF_PATH \"/afs/ipp/u/aws/propagate/c/GALDEF\"
echo GALDEF_PATH $GALDEF_PATH
setenv FITSDATA_PATH \"/afs/ipp/u/aws/propagate/c/FITS\"
echo FITSDATA_PATH $FITSDATA_PATH
setenv DATA_PATH \"/afs/ipp/u/aws/propagate/c/gitlab/galprop/version_54/source/fortran_data\"
echo DATA_PATH $DATA_PATH
g++ -I. -I.. -I$CFITSIO_DIR/include -I$CCFITS_DIR/include -I$HEALPIX_DIR/include/healpix_cxx -I$HEALPIX_DIR/include/libsharp -I$CLHEP_DIR/include -I$GSL_DIR/include -I$ROOT_DIR/include -I$SLA_C_DIR/include -DHAVE_ALM_HEALPIX_TOOLS_H -DGALDEF_PATH=$GALDEF_PATH -DFITSDATA_PATH=$FITSDATA_PATH -DDATA_PATH=$DATA_PATH -O3 -fopenmp -c *.cc
echo for module load gcc
module load gcc
echo new cfitsio CCfits healpix-3.60 with load gcc
echo source file $SOURCE_FILE
setenv CFITSIO_DIR /afs/ipp-garching.mpg.de/home/a/aws/propagate/c/cfitsio/3.47/cfitsio-3.47/build
setenv CCFITS_DIR /afs/ipp-garching.mpg.de/home/a/aws/propagate/c/CCfits/CCfits-2.5_cfitsio_3.47/CCfits/build/usr/local
setenv HEALPIX_DIR /afs/ipp-garching.mpg.de/home/a/aws/Healpix/Healpix_3.60_module_load_gcc/
setenv CLHEP_DIR /afs/ipp-garching.mpg.de/home/a/aws/propagate/c/CLHEP/2.0.4.3/installed_here
setenv GSL_DIR /afs/ipp-garching.mpg.de/home/a/aws/gsl/gsl-1.10/olga
setenv ROOT_DIR /afs/ipp-garching.mpg.de/home/a/aws/volume3/root_v5.34.13/root
setenv SLA_C_DIR /afs/ipp/u/aws/propagate/c/sla_c_g++
echo libraries
echo $CFITSIO_DIR
echo $CCFITS_DIR
echo $HEALPIX_DIR
echo $CLHEP_DIR
echo $GSL_DIR
echo $SLA_C_DIR
echo $ROOT_DIR
echo -D
setenv GALDEF_PATH \"/afs/ipp/u/aws/propagate/c/GALDEF\"
echo GALDEF_PATH $GALDEF_PATH
setenv FITSDATA_PATH \"/afs/ipp/u/aws/propagate/c/FITS\"
echo FITSDATA_PATH $FITSDATA_PATH
setenv DATA_PATH \"/afs/ipp/u/aws/propagate/c/gitlab/galprop/version_54/source/fortran_data\"
echo DATA_PATH $DATA_PATH
g++ -I. -I.. -I$CFITSIO_DIR/include -I$CCFITS_DIR/include -I$HEALPIX_DIR/include/healpix_cxx -I$HEALPIX_DIR/include/libsharp -I$CLHEP_DIR/include -I$GSL_DIR/include -I$ROOT_DIR/include -I$SLA_C_DIR/include -DHAVE_ALM_HEALPIX_TOOLS_H -DGALDEF_PATH=$GALDEF_PATH -DFITSDATA_PATH=$FITSDATA_PATH -DDATA_PATH=$DATA_PATH -O3 -fopenmp -c $SOURCE_FILE
source manual_galplot_link_newlibs_healpix-3.60_newgcc_newgcc
......@@ -6,4 +6,31 @@ echo new cfitsio CCfits healpix-3.60 with module load gcc
echo order of healpix -l is important
g++ -O3 -Wall -fopenmp -o galplot *.o -L/afs/ipp-garching.mpg.de/home/a/aws/propagate/c/cfitsio/3.47/cfitsio-3.47/build/lib -lcfitsio -L/afs/ipp-garching.mpg.de/home/a/aws/propagate/c/CCfits/CCfits-2.5_cfitsio_3.47/CCfits/build/usr/local/lib -lCCfits -L/afs/ipp/u/aws/propagate/c/sla_c_g++/lib -lsla_c -L/afs/ipp-garching.mpg.de/home/a/aws/Healpix/Healpix_3.60_module_load_gcc/lib -lhealpix_cxx -lsharp -L/afs/ipp-garching.mpg.de/home/a/aws/volume3/root_v5.34.13/root/lib -L/afs/ipp-garching.mpg.de/home/a/aws/volume3/root_v5.34.13/root/lib -lCore -lCint -lGraf -lGpad -lHistPainter -lNew -lGX11 -lPostscript -lMatrix -lHist -lMinuit -lMinuit2 -lRIO -lMathCore -lThread -lgfortran -L/afs/ipp-garching.mpg.de/home/a/aws/gsl/gsl-1.10/olga/lib -lgsl -lgslcblas -lm -L/afs/ipp-garching.mpg.de/home/a/aws/propagate/c/CLHEP/2.0.4.3/installed_here/lib -lCLHEP
setenv CFITSIO_DIR /afs/ipp-garching.mpg.de/home/a/aws/propagate/c/cfitsio/3.47/cfitsio-3.47/build
setenv CCFITS_DIR /afs/ipp-garching.mpg.de/home/a/aws/propagate/c/CCfits/CCfits-2.5_cfitsio_3.47/CCfits/build/usr/local
setenv HEALPIX_DIR /afs/ipp-garching.mpg.de/home/a/aws/Healpix/Healpix_3.60_module_load_gcc/
setenv CLHEP_DIR /afs/ipp-garching.mpg.de/home/a/aws/propagate/c/CLHEP/2.0.4.3/installed_here
setenv GSL_DIR /afs/ipp-garching.mpg.de/home/a/aws/gsl/gsl-1.10/olga
setenv ROOT_DIR /afs/ipp-garching.mpg.de/home/a/aws/volume3/root_v5.34.13/root
setenv SLA_C_DIR /afs/ipp/u/aws/propagate/c/sla_c_g++
echo libraries
echo $CFITSIO_DIR
echo $CCFITS_DIR
echo $HEALPIX_DIR
echo $CLHEP_DIR
echo $GSL_DIR
echo $SLA_C_DIR
echo $ROOT_DIR
g++ -O3 -Wall -fopenmp -o galplot *.o -L$CFITSIO_DIR/lib -lcfitsio -L$CCFITS_DIR/lib -lCCfits -L$SLA_C_DIR/lib -lsla_c -L$HEALPIX_DIR/lib -lhealpix_cxx -lsharp -L$ROOT_DIR/lib -lCore -lCint -lGraf -lGpad -lHistPainter -lNew -lGX11 -lPostscript -lMatrix -lHist -lMinuit -lMinuit2 -lRIO -lMathCore -lThread -lgfortran -L$GSL_DIR/lib -lgsl -lgslcblas -lm -L$CLHEP_DIR/lib -lCLHEP
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment