[petsc-users] PETSC on Cray Hazelhen
Matthew Knepley
knepley at gmail.com
Tue Jun 13 07:34:24 CDT 2017
On Tue, Jun 13, 2017 at 3:48 AM, Vaz, Guilherme <G.Vaz at marin.nl> wrote:
> 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?
>
You turned off autodetection, so it will not find libstdc++. That either
has to be put in LIBS, or I would recommend
--with-cxx=0
since nothing you have there requires C++.
Thanks,
Matt
> Thanks,
> Guilherme V.
>
> dr. ir. Guilherme Vaz | CFD Research Coordinator / Senior CFD Researcher |
> Research & Development
> MARIN | T +31 317 49 33 25 <+31%20317%20493%20325> | M +31 621 13 11 97 |
> G.Vaz at marin.nl | www.marin.nl
>
> [image: LinkedIn] <https://www.linkedin.com/company/marin> [image:
> YouTube] <http://www.youtube.com/marinmultimedia> [image: Twitter]
> <https://twitter.com/MARIN_nieuws> [image: 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>
>
>
--
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener
http://www.caam.rice.edu/~mk51/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20170613/2c49ee4c/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: imageb0ee12.PNG
Type: image/png
Size: 293 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20170613/2c49ee4c/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image1bd020.PNG
Type: image/png
Size: 253 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20170613/2c49ee4c/attachment-0005.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: imaged8f08c.PNG
Type: image/png
Size: 331 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20170613/2c49ee4c/attachment-0006.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: imagedacd80.PNG
Type: image/png
Size: 333 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20170613/2c49ee4c/attachment-0007.png>
More information about the petsc-users
mailing list