[petsc-users] configuration on hopper at nersc
Jed Brown
jedbrown at mcs.anl.gov
Tue Jul 2 13:19:09 CDT 2013
George Pau <gpau at lbl.gov> writes:
> I am using the gnu compiler and it is of version 4.1.40, if that is
> relevant.
No, you are not.
Executing: /opt/cray/xt-asyncpe/5.19/bin/cc --version
sh: gcc (GCC) 4.7.2 20120920 (Cray Inc.)
Copyright (C) 2012 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
In the past, --with-batch has been needed on Hopper. Here's a configure
script that you could use:
#!/usr/common/usg/python/2.7.1/bin/python
if __name__ == '__main__':
import sys
import os
sys.path.insert(0, os.path.abspath('config'))
import configure
configure_options = [
'--download-metis',
'--download-ml',
'--download-mumps',
'--download-parmetis',
'--download-scalapack',
'--download-superlu_dist',
'--known-bits-per-byte=8',
'--known-level1-dcache-assoc=2',
'--known-level1-dcache-linesize=64',
'--known-level1-dcache-size=65536',
'--known-memcmp-ok=1',
'--known-mpi-c-double-complex=1',
'--known-mpi-long-double=1',
'--known-mpi-shared-libraries',
'--known-sizeof-MPI_Comm=4',
'--known-sizeof-MPI_Fint=4',
'--known-sizeof-char=1',
'--known-sizeof-double=8',
'--known-sizeof-float=4',
'--known-sizeof-int=4',
'--known-sizeof-long-long=8',
'--known-sizeof-long=8',
'--known-sizeof-short=2',
'--known-sizeof-size_t=8',
'--known-sizeof-void-p=8',
'--with-batch',
'--with-debugging=0',
'CC=/opt/cray/xt-asyncpe/5.19/bin/cc',
'COPTFLAGS=-O -g',
'CXX=/opt/cray/xt-asyncpe/5.19/bin/CC',
'FC=/opt/cray/xt-asyncpe/5.19/bin/ftn',
'PETSC_ARCH=gnu-optg',
]
configure.petsc_configure(configure_options)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20130702/bc5167a6/attachment.pgp>
More information about the petsc-users
mailing list