Help with non-standard MPI compiler


Click here for full thread
Forum Vet
One trick that may work, alias mpicc to mpicc -pc . Otherwise, we need to start hacking a bunch of makefiles, which I rather avoid.

Bert

Quote:Cjolley Oct 17th 12:57 am
Quote:Bert Oct 14th 4:56 pm
Craig,

Which version of NWChem are you compiling?

Which platform, i.e. NWCHEM_TARGET, ARMCI_NETWORK, etc.?



Bert:

Thanks for helping. I' m installing NWChem 6.0. My environment variables are as follows:

export NWCHEM_TOP=/home/Ueda-DNA/nwchem-6.0
export NWCHEM_TARGET=Linux
export NWCHEM_MODULES=all
export USE_MPI=y
export CC='mpicc -pc'

When I run "make nw_config" things look fine (as far as I can tell), but "make" seems very unhappy.

Quote:

[Ueda-DNA@ricc3 src]$ make
test -d /home/Ueda-DNA/nwchem-6.0/lib/Linux || mkdir -p /home/Ueda-DNA/nwchem-6.0/lib/Linux
test -d /home/Ueda-DNA/nwchem-6.0/bin/Linux || mkdir -p /home/Ueda-DNA/nwchem-6.0/bin/Linux
Making libraries in tools

make[1]: Entering directory `/home/Ueda-DNA/nwchem-6.0/src/tools'

*** Building Parallel Tools ****

>>> making Memory Allocator (MA) library <<<
(cd ./ma; make CC=mpicc -pc FC=f77)
make: invalid option - c
Usage: make [options] [target] ...

</quote>

It looks like (maybe) make isn't recognizing "-pc" as a flag that should be associated with mpicc rather than with make.