Changeset 7858


Ignore:
Timestamp:
04/12/11 14:36:16 (14 years ago)
Author:
Mathieu Morlighem
Message:

compile with PIC

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/externalpackages/petsc/configs/3.1-p7/pleiades/configure.sh

    r7171 r7858  
    55
    66#After compiling plapack manually (See ISSM website)
     7#./config/configure.py \
     8# --prefix=$PETSC_DIR \
     9# --with-batch=1  \
     10# --PETSC_ARCH="$ISSM_ARCH" \
     11# --PETSC_DIR="$ISSM_TIER/externalpackages/petsc/src" \
     12# --with-debugging=no \
     13# --with-shared=0 \
     14# --with-blas-lapack-dir=/nasa/intel/mkl/10.0.011/ \
     15# --with-mpi-lib=/nasa/sgi/mpt/1.23.nas/lib64/libmpi.so \
     16# --with-mpi-include=/nasa/sgi/mpt/1.23.nas/include  \
     17# --known-mpi-shared=0 \
     18# --download-mumps=yes \
     19# --download-scalapack=yes \
     20# --download-blacs=yes  \
     21# --with-plapack-dir=$ISSM_TIER/externalpackages/petsc/src/$ISSM_ARCH \
     22# --download-parmetis=yes \
     23# --FFLAGS=-I/usr/include \
     24# --with-cc=icc \
     25# --with-fc=ifort \
     26# --COPTFLAGS=" -O3 -xS" \
     27# --FOPTFLAGS=" -O3 -xS" \
     28# --CXXOPTFLAGS=" -O3 -xS" \
     29# --with-pic=1
     30
     31#Before Plapack implodes
    732./config/configure.py \
    833 --prefix=$PETSC_DIR \
     
    1944 --download-scalapack=yes \
    2045 --download-blacs=yes  \
    21  --with-plapack-dir=$ISSM_TIER/externalpackages/petsc/src/$ISSM_ARCH \
    22  --download-parmetis=yes \
     46 --download-plapack=yes \
    2347 --FFLAGS=-I/usr/include \
    2448 --with-cc=icc \
     
    2650 --COPTFLAGS=" -O3 -xS" \
    2751 --FOPTFLAGS=" -O3 -xS" \
    28  --CXXOPTFLAGS=" -O3 -xS"
    29 
    30 #Before Plapack implodes
    31 #./config/configure.py \
    32 # --prefix=$PETSC_DIR \
    33 # --with-batch=1  \
    34 # --PETSC_ARCH="$ISSM_ARCH" \
    35 # --PETSC_DIR="$ISSM_TIER/externalpackages/petsc/src" \
    36 # --with-debugging=no \
    37 # --with-shared=0 \
    38 # --with-blas-lapack-dir=/nasa/intel/mkl/10.0.011/ \
    39 # --with-mpi-lib=/nasa/sgi/mpt/1.23.nas/lib64/libmpi.so \
    40 # --with-mpi-include=/nasa/sgi/mpt/1.23.nas/include  \
    41 # --known-mpi-shared=0 \
    42 # --download-mumps=yes \
    43 # --download-scalapack=yes \
    44 # --download-blacs=yes  \
    45 # --download-plapack=yes \
    46 # --FFLAGS=-I/usr/include \
    47 # --with-cc=icc \
    48 # --with-fc=ifort \
    49 # --COPTFLAGS=" -O3 -xS" \
    50 # --FOPTFLAGS=" -O3 -xS" \
    51 # --CXXOPTFLAGS=" -O3 -xS"
     52 --CXXOPTFLAGS=" -O3 -xS" \
     53 --with-pic=1
    5254
    5355#then edit install/include/petscconf.h and comment all lines with PETSC_HAVE__INTEL_FAST_MEMCPY PETSC_HAVE__INTEL_FAST_MEMSET
Note: See TracChangeset for help on using the changeset viewer.