9:56:42 AM PDT - Fri, Oct 14th 2011 |
|
Craig,
I would think
export CC="mpicc -pc"
would work.
Which version of NWChem are you compiling?
Which platform, i.e. NWCHEM_TARGET, ARMCI_NETWORK, etc.?
Bert
Quote: Oct 14th 12:34 amHi everyone...
I'm trying to set up NWChem on an HPC system that uses a somewhat quirky MPI wrapper. It uses a single submission interface for a variety of different clusters, so I need to specify which cluster I want using:
mpicc -pc filename.c [options]
where "-pc" is used to specify the PC cluster (as opposed to some other options). I've tried various different environment variables but I can't seem to figure out which one will allow me to add the "-pc" flag as the first option after the compiler name. Setting
export CC='mpicc -c'
also doesn't seem to work.
Is it possible to do this with an environment variable, or do I need to modify the makefile?
Thanks!
-Craig
|