Re: [petsc-users] cray build error

2014-03-23 Thread Mark Adams
Yes, I was told:

Comments:
2014-03-21 14:44:49 - Harvey Wasserman (Additional comments)
1. If you want to eliminate the ModuleCmd_Switch.c(172):ERROR:152: Module
'PrgEnv-pgi' is currently not loaded warnings,
then you need to eliminate module swap PrgEnv-pgi PrgEnv-gnu from
~/.bashrc.ext .

On Sat, Mar 22, 2014 at 1:12 AM, Satish Balay ba...@mcs.anl.gov wrote:

 
 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/
 

 --download-mpich on hopper looks weird.


 
 ModuleCmd_Switch.c(172):ERROR:152: Module 'PrgEnv-pgi' is currently not
 loaded
 ModuleCmd_Switch.c(172):ERROR:152: Module 'PrgEnv-pgi' is currently not
 loaded
 ModuleCmd_Switch.c(172):ERROR:152: Module 'PrgEnv-pgi' is currently not
 loaded
 ModuleCmd_Switch.c(172):ERROR:152: Module 'PrgEnv-pgi' is currently not
 loaded
 ModuleCmd_Switch.c(172):ERROR:152: Module 'PrgEnv-pgi' is currently not
 loaded
 ModuleCmd_Switch.c(172):ERROR:152: Module 'PrgEnv-pgi' is currently not
 loaded
 ModuleCmd_Switch.c(172):ERROR:152: Module 'PrgEnv-pgi' is currently not
 loaded
 

 I see more module errors here..

 Satish

 On Fri, 21 Mar 2014, Mark Adams wrote:

  Thanks, that go me further.  I build here all the time (Hopper at NERSC)
  but I'm having a hard time here.  I've cleaned everything but still get
  these errors.
 
 
  On Thu, Mar 20, 2014 at 7:23 AM, Jed Brown j...@jedbrown.org wrote:
 
   Mark Adams mfad...@lbl.gov writes:
  
I get this on Hopper with PETSC maint.  Any ideas?
  
   The environment is broken: wrapper compiler is adding -lpspline and
   -lezcdf.  Perhaps you need to unload modules or load other modules?
  
   | Executing: cc  -o
   /scratch/scratchdirs/madams/petsc-pDazNU/config.setCompilers/conftest
  
  /scratch/scratchdirs/madams/petsc-pDazNU/config.setCompilers/conftest.o
   | sh:
   | Possible ERROR while running linker:
 ModuleCmd_Switch.c(172):ERROR:152:
   Module 'PrgEnv-pgi' is currently not loaded
   | ModuleCmd_Switch.c(172):ERROR:152: Module 'PrgEnv-pgi' is currently
 not
   loaded
   | ModuleCmd_Switch.c(172):ERROR:152: Module 'PrgEnv-pgi' is currently
 not
   loaded
   | /usr/bin/ld: cannot find -lpspline
   | /usr/bin/ld: cannot find -lezcdf
   | collect2: error: ld returned 1 exit status
   |  output: ret = 256
  
   | _LMFILES_=/opt/modulefiles/modules/3.2.6.6:
   /usr/syscom/nsg/modulefiles/nsg/1.2.0:/opt/modulefiles/modules/3.2.6.7
 :
  
 /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..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/
 2.8.10.1:
  
 

Re: [petsc-users] cray build error

2014-03-23 Thread Mark Adams
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'.


On Sun, Mar 23, 2014 at 8:46 AM, Mark Adams mfad...@lbl.gov wrote:

 Yes, I was told:

 Comments:
 2014-03-21 14:44:49 - Harvey Wasserman (Additional comments)
 1. If you want to eliminate the ModuleCmd_Switch.c(172):ERROR:152: Module
 'PrgEnv-pgi' is currently not loaded warnings,
 then you need to eliminate module swap PrgEnv-pgi PrgEnv-gnu from
 ~/.bashrc.ext .

 On Sat, Mar 22, 2014 at 1:12 AM, Satish Balay ba...@mcs.anl.gov wrote:

 
 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/
 

 --download-mpich on hopper looks weird.


 
 ModuleCmd_Switch.c(172):ERROR:152: Module 'PrgEnv-pgi' is currently not
 loaded
 ModuleCmd_Switch.c(172):ERROR:152: Module 'PrgEnv-pgi' is currently not
 loaded
 ModuleCmd_Switch.c(172):ERROR:152: Module 'PrgEnv-pgi' is currently not
 loaded
 ModuleCmd_Switch.c(172):ERROR:152: Module 'PrgEnv-pgi' is currently not
 loaded
 ModuleCmd_Switch.c(172):ERROR:152: Module 'PrgEnv-pgi' is currently not
 loaded
 ModuleCmd_Switch.c(172):ERROR:152: Module 'PrgEnv-pgi' is currently not
 loaded
 ModuleCmd_Switch.c(172):ERROR:152: Module 'PrgEnv-pgi' is currently not
 loaded
 

 I see more module errors here..

 Satish

 On Fri, 21 Mar 2014, Mark Adams wrote:

  Thanks, that go me further.  I build here all the time (Hopper at NERSC)
  but I'm having a hard time here.  I've cleaned everything but still get
  these errors.
 
 
  On Thu, Mar 20, 2014 at 7:23 AM, Jed Brown j...@jedbrown.org wrote:
 
   Mark Adams mfad...@lbl.gov writes:
  
I get this on Hopper with PETSC maint.  Any ideas?
  
   The environment is broken: wrapper compiler is adding -lpspline and
   -lezcdf.  Perhaps you need to unload modules or load other modules?
  
   | Executing: cc  -o
   /scratch/scratchdirs/madams/petsc-pDazNU/config.setCompilers/conftest
  
  /scratch/scratchdirs/madams/petsc-pDazNU/config.setCompilers/conftest.o
   | sh:
   | Possible ERROR while running linker:
 ModuleCmd_Switch.c(172):ERROR:152:
   Module 'PrgEnv-pgi' is currently not loaded
   | ModuleCmd_Switch.c(172):ERROR:152: Module 'PrgEnv-pgi' is currently
 not
   loaded
   | ModuleCmd_Switch.c(172):ERROR:152: Module 'PrgEnv-pgi' is currently
 not
   loaded
   | /usr/bin/ld: cannot find -lpspline
   | /usr/bin/ld: cannot find -lezcdf
   | collect2: error: ld returned 1 exit status
   |  output: ret = 256
  
   | _LMFILES_=/opt/modulefiles/modules/3.2.6.6:
   /usr/syscom/nsg/modulefiles/nsg/1.2.0:/opt/modulefiles/modules/
 3.2.6.7:
  
 /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..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/
 2.8.10.1:
  
 

Re: [petsc-users] cray build error

2014-03-20 Thread Jed Brown
Mark Adams mfad...@lbl.gov writes:

 I get this on Hopper with PETSC maint.  Any ideas?

The environment is broken: wrapper compiler is adding -lpspline and
-lezcdf.  Perhaps you need to unload modules or load other modules?

| Executing: cc  -o 
/scratch/scratchdirs/madams/petsc-pDazNU/config.setCompilers/conftest
/scratch/scratchdirs/madams/petsc-pDazNU/config.setCompilers/conftest.o 
| sh: 
| Possible ERROR while running linker: ModuleCmd_Switch.c(172):ERROR:152: 
Module 'PrgEnv-pgi' is currently not loaded
| ModuleCmd_Switch.c(172):ERROR:152: Module 'PrgEnv-pgi' is currently not loaded
| ModuleCmd_Switch.c(172):ERROR:152: Module 'PrgEnv-pgi' is currently not loaded
| /usr/bin/ld: cannot find -lpspline
| /usr/bin/ld: cannot find -lezcdf
| collect2: error: ld returned 1 exit status
|  output: ret = 256

| 
_LMFILES_=/opt/modulefiles/modules/3.2.6.6:/usr/syscom/nsg/modulefiles/nsg/1.2.0:/opt/modulefiles/modules/3.2.6.7:/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..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/2.8.10.1:/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


pgp1uEi5fzr5n.pgp
Description: PGP signature