Help with non-standard MPI compiler


Click here for full thread
  • Guest -
Hi 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