[petsc-dev] Fwd: [ideas-xsdk] common configure/cmake arguments for XSDK packages ready for testing

Jed Brown jed at jedbrown.org
Wed Dec 24 12:26:09 CST 2014

Barry Smith <bsmith at mcs.anl.gov> writes:

>   Now change the compiler to something else from Cray and run again.

Starting with PrgEnv-gnu:

  jedbrow at edison01:~> env | grep MODULE > PrgEnv-gnu.txt
  jedbrow at edison01:~> module swap PrgEnv-{gnu,cray}
  jedbrow at edison01:~> env | grep MODULE > PrgEnv-cray.txt
  jedbrow at edison01:~> diff PrgEnv-*
  < FORTRAN_SYSTEM_MODULE_NAMES=ftn_lib_definitions
  < LOADEDMODULES=modules/
  > LOADEDMODULES=modules/

In this case, it might be more reliable to compare "cc --version".
Modules was never intended as a robust solution.  It was a disgusting
hack that probably seemed okay at the time, but ended up as an
established methodology and now we have to live with its many points of
failure, horrible debugability, and lack of an API.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20141224/e7ad3a68/attachment.sig>

More information about the petsc-dev mailing list