<div dir="ltr">I fixed this by not downloading MPI.  I used to not need to specify MPI at all.  But I seemed to when I use 'maint'.</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Mar 23, 2014 at 8:46 AM, Mark Adams <span dir="ltr"><<a href="mailto:mfadams@lbl.gov" target="_blank">mfadams@lbl.gov</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Yes, I was told:<div><br></div><div><div style="font-family:arial,sans-serif;font-size:13.333333969116211px">
Comments:</div><div style="font-family:arial,sans-serif;font-size:13.333333969116211px">2014-03-21 14:44:49 - Harvey Wasserman (Additional comments)</div>
<div style="font-family:arial,sans-serif;font-size:13.333333969116211px">1. If you want to eliminate the "ModuleCmd_Switch.c(172):ERROR:152: Module 'PrgEnv-pgi' is currently not loaded" warnings,</div><div style="font-family:arial,sans-serif;font-size:13.333333969116211px">

then you need to eliminate "module swap PrgEnv-pgi PrgEnv-gnu" from ~/.bashrc.ext . </div><div><div class="h5"><div style="font-family:arial,sans-serif;font-size:13.333333969116211px"><br></div><div class="gmail_extra">
<div class="gmail_quote">
On Sat, Mar 22, 2014 at 1:12 AM, Satish Balay <span dir="ltr"><<a href="mailto:balay@mcs.anl.gov" target="_blank">balay@mcs.anl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

>>><br>
Configure Options: --configModules=PETSc.Configure --optionsModule=PETSc.compilerOptions --COPTFLAGS="-O3 -ffast-math -funroll-loops" --CXXOPTFLAGS="-O3 -ffast-math -funroll-loops" --FOPTFLAGS="-O3 -ffast-math -funroll-loops" --download-parmetis --download-metis --download-hypre --with-cc=cc --with-clib-autodetect=0 --with-cxx=CC --with-cxxlib-autodetect=0 --with-debugging=0 --with-fc=ftn --with-fortranlib-autodetect=0 --with-shared-libraries=0 --download-mpich --with-x=0 --with-64-bit-indices PETSC_ARCH=arch-xe6-opt64 PETSC_DIR=/global/homes/m/madams/petsc_maint/<br>


<<<<<<br>
<br>
--download-mpich on hopper looks weird. </blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div><br>
>>>>>>>><br>
ModuleCmd_Switch.c(172):ERROR:152: Module 'PrgEnv-pgi' is currently not loaded<br>
ModuleCmd_Switch.c(172):ERROR:152: Module 'PrgEnv-pgi' is currently not loaded<br>
ModuleCmd_Switch.c(172):ERROR:152: Module 'PrgEnv-pgi' is currently not loaded<br>
ModuleCmd_Switch.c(172):ERROR:152: Module 'PrgEnv-pgi' is currently not loaded<br>
ModuleCmd_Switch.c(172):ERROR:152: Module 'PrgEnv-pgi' is currently not loaded<br>
ModuleCmd_Switch.c(172):ERROR:152: Module 'PrgEnv-pgi' is currently not loaded<br>
ModuleCmd_Switch.c(172):ERROR:152: Module 'PrgEnv-pgi' is currently not loaded<br>
<<<<<<<br>
<br>
</div>I see more module errors here..<br>
<span><font color="#888888"><br>
Satish<br>
</font></span><div><div><br>
On Fri, 21 Mar 2014, Mark Adams wrote:<br>
<br>
> Thanks, that go me further.  I build here all the time (Hopper at NERSC)<br>
> but I'm having a hard time here.  I've cleaned everything but still get<br>
> these errors.<br>
><br>
><br>
> On Thu, Mar 20, 2014 at 7:23 AM, Jed Brown <<a href="mailto:jed@jedbrown.org" target="_blank">jed@jedbrown.org</a>> wrote:<br>
><br>
> > Mark Adams <<a href="mailto:mfadams@lbl.gov" target="_blank">mfadams@lbl.gov</a>> writes:<br>
> ><br>
> > > I get this on Hopper with PETSC maint.  Any ideas?<br>
> ><br>
> > The environment is broken: wrapper compiler is adding -lpspline and<br>
> > -lezcdf.  Perhaps you need to unload modules or load other modules?<br>
> ><br>
> > | Executing: cc  -o<br>
> > /scratch/scratchdirs/madams/petsc-pDazNU/config.setCompilers/conftest<br>
> >  /scratch/scratchdirs/madams/petsc-pDazNU/config.setCompilers/conftest.o<br>
> > | sh:<br>
> > | Possible ERROR while running linker: ModuleCmd_Switch.c(172):ERROR:152:<br>
> > Module 'PrgEnv-pgi' is currently not loaded<br>
> > | ModuleCmd_Switch.c(172):ERROR:152: Module 'PrgEnv-pgi' is currently not<br>
> > loaded<br>
> > | ModuleCmd_Switch.c(172):ERROR:152: Module 'PrgEnv-pgi' is currently not<br>
> > loaded<br>
> > | /usr/bin/ld: cannot find -lpspline<br>
> > | /usr/bin/ld: cannot find -lezcdf<br>
> > | collect2: error: ld returned 1 exit status<br>
> > |  output: ret = 256<br>
> ><br>
> > | _LMFILES_=/opt/modulefiles/modules/<a href="http://3.2.6.6" target="_blank">3.2.6.6</a>:<br>
> > /usr/syscom/nsg/modulefiles/nsg/1.2.0:/opt/modulefiles/modules/<a href="http://3.2.6.7" target="_blank">3.2.6.7</a>:<br>
> > /opt/cray/xt-asyncpe/default/modulefiles/xtpe-network-gemini:/opt/modulefiles/PrgEnv-gnu/4.2.34:/opt/cray/modulefiles/atp/1.7.0:/opt/modulefiles/xe-sysroot/4.2.34:/opt/cray/gem/modulefiles/switch/1.0-1.0402.45840.2.63.gem:/opt/cray/gem/modulefiles/shared-root/1.0-1.0402.46893.3.17.gem:/opt/cray/gem/modulefiles/pdsh/2.26-1.0402.45278.1.1.gem:/opt/cray/gem/modulefiles/nodehealth/5.1-1.0402.45895.3.76.gem:/opt/cray/gem/modulefiles/lbcd/2.1-1.0402.45245.1.2.gem:/opt/cray/gem/modulefiles/hosts/1.0-1.0402.45251.1.86.gem:/opt/cray/gem/modulefiles/configuration/1.0-1.0402.45284.1.2.gem:/opt/cray/modulefiles/ccm/2.2.0-1.0402.46086.4.120:/opt/cray/gem/modulefiles/audit/1.0.0-1.0402.45273.1.86.gem:/opt/cray/gem/modulefiles/rca/1.0.0-2.0402.47290.7.1.gem:/opt/cray/gem/modulefiles/csa/3.0.0-1_2.0402.45268.1.90.gem:/opt/cray/gem/modulefiles/job/1.5.5-0.1_2.0402.45272.1.5.gem:/opt/cray/gem/modulefiles/xpmem/0.1-2.0402.45248.1.5.gem:/opt/cray/gem/modulefiles/gni-headers/2.1-1.0402.7541.1.5.gem:/opt/cray/gem/modulefiles/dmapp/4.0.1-1.0402.7784.4.1.gem:/opt/cray/gem/modulefiles/pmi/4.0.1-1.0000.9753.86.3.gem:/opt/cray/gem/modulefiles/ugni/5.0-1.0402.7551.1.10.gem:/opt/cray/gem/modulefiles/udreg/2.3.2-1.0402.7546.1.5.gem:/opt/cray/modulefiles/cray-libsci/12.1.01:/opt/modulefiles/gcc/4.8.1:/opt/modulefiles/xt-asyncpe/5.23:/opt/modulefiles/eswrap/1.0.20-1.010102.662.0:/opt/cray/xt-asyncpe/default/modulefiles/craype-mc12:/opt/cray/modulefiles/cray-shmem/6.0.1:/opt/cray/modulefiles/cray-mpich/6.0.1:/opt/modulefiles/torque/4.2.3.h5_notcpretry:/opt/modulefiles/moab/7.2.3-r19-b121-SUSE11:/usr/common/usg/Modules/modulefiles/valgrind/3.8.1:/usr/common/usg/Modules/modulefiles/cmake/<a href="http://2.8.10.1" target="_blank">2.8.10.1</a>:<br>


> > /usr/common/graphics/Modules/modulefiles/visit/2.7.0:/opt/cray/modulefiles/papi/5.1.2:/usr/common/usg/Modules/modulefiles/ipm/2.00:/usr/common/usg/Modules/modulefiles/allineatools/4.2-34404:/usr/common/usg/Modules/modulefiles/adios/1.2.1:/usr/common/usg/Modules/modulefiles/pspline/nersc1.0:/opt/cray/modulefiles/cray-hdf5/1.8.11:/opt/cray/modulefiles/cray-netcdf/4.3.0:/usr/common/usg/Modules/modulefiles/matlab/R2012a:/usr/common/usg/Modules/modulefiles/altd/1.0:/usr/common/usg/Modules/modulefiles/usg-default-modules/1.0<br>


> ><br>
><br>
</div></div></blockquote></div><br></div></div></div></div></div>
</blockquote></div><br></div>