Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: Re: [OMPI users] compilation error with pgcc Unknown switch
From: Nathan Hjelm (hjelmn_at_[hidden])
Date: 2012-02-28 11:13:52

On Mon, 27 Feb 2012, Abhinav Sarje wrote:

> Hi Nathan, Gus, Manju,
> I got a chance to try out the XE6 support build, but with no success.
> First I was getting this error: "PGC-F-0010-File write error occurred
> (temporary pragma .s file)". After searching online about this error,
> I saw that there is a patch at
> ""
> for this particular error.
> With the patched version, I did not get this error anymore, but got
> the unknown switch flag error for the flag "-march=amdfam10"
> (specified in the XE6 configuration in the dev trunk) at a particular
> point even if I use the '-noswitcherror' flag with the pgcc compiler.
> If I remove this flag (-march=amdfam10), the build fails later at the
> following point:
> -------------------------
> Making all in mca/ras/alps
> make[2]: Entering directory `/{mydir}/openmpi-dev-trunk/build/orte/mca/ras/alps'
> CC ras_alps_component.lo
> CC ras_alps_module.lo
> PGC-F-0206-Can't find include file alps/apInfo.h
> (../../../../../orte/mca/ras/alps/ras_alps_module.c: 37)
> PGC/x86-64 Linux 11.10-0: compilation aborted
> make[2]: *** [ras_alps_module.lo] Error 1
> make[2]: Leaving directory `/{mydir}/openmpi-dev-trunk/build/orte/mca/ras/alps'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/{mydir}/openmpi-dev-trunk/build/orte'
> make: *** [all-recursive] Error 1
> --------------------------

This is a known issue with Cray's frontend environment. Build on one of the internal login nodes.