Dear all,

I am trying to install PETSC on a Cray XC40 system (Hazelhen) with the usual 
Cray wrappers for Intel compilers, with some chosen external packages and MKL 
libraries.

I read some threads in the mailing list about this, and I tried the 
petsc-3.7.5/config/examples/arch-cray-xt6-pkgs-opt.py configuration options. 
After trying this (please abstract from my own env vars),

CONFOPTS="--prefix=$PETSC_INSTALL_DIR \
              --with-cc=cc \
              --with-cxx=CC \
              --with-fc=ftn \
              --with-clib-autodetect=0 \
              --with-cxxlib-autodetect=0 \
              --with-fortranlib-autodetect=0 \
              --COPTFLAGS=-fast -mp \
              --CXXOPTFLAGS=-fast -mp \
              --FOPTFLAGS=-fast -mp \
              --with-shared-libraries=0 \
              --with-batch=1 \
              --with-x=0 \
              --with-mpe=0 \
              --with-debugging=0 \
              --download-superlu_dist=$SOURCE_DIR/$SUPERLU_SOURCE_FILE \
              --with-blas-lapack-dir=$BLASDIR \
              --download-parmetis=$SOURCE_DIR/$PARMETIS_SOURCE_FILE \
              --download-metis=$SOURCE_DIR/$METIS_SOURCE_FILE \
              --with-external-packages-dir=$INSTALL_DIR \
              --with-ssl=0 "


I get the following error:


TESTING: checkFortranLinkingCxx from 
config.compilers(/zhome/academic/HLRS/pri/iprguvaz/ReFRESCO/Dev/trunk/Libs/build/petsc-3.7.5/config/BuildSystem/config/compilers.py:1097)
*******************************************************************************
         UNABLE to CONFIGURE with GIVEN OPTIONS    (see configure.log for 
details):
-------------------------------------------------------------------------------
Fortran could not successfully link C++ objects
*******************************************************************************

Does it ring a bell? Any tips?

Thanks,
Guilherme V.

dr. ir. Guilherme Vaz | CFD Research Coordinator / Senior CFD Researcher  | 
Research & Development
MARIN | T +31 317 49 33 25 | M +31 621 13 11 97 | 
[email protected]<mailto:[email protected]> | www.marin.nl<http://www.marin.nl>

[LinkedIn]<https://www.linkedin.com/company/marin> [YouTube] 
<http://www.youtube.com/marinmultimedia>  [Twitter] 
<https://twitter.com/MARIN_nieuws>  [Facebook] 
<https://www.facebook.com/marin.wageningen>
MARIN news: Maritime Safety seminar, September 12, 
Singapore<http://www.marin.nl/web/News/News-items/Maritime-Safety-seminar-September-12-Singapore.htm>


Reply via email to