Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GNU building problem on Cheyenne #36

Open
lvankampenhout opened this issue Feb 13, 2018 · 3 comments
Open

GNU building problem on Cheyenne #36

lvankampenhout opened this issue Feb 13, 2018 · 3 comments
Assignees

Comments

@lvankampenhout
Copy link

Hi Paul and others, I am currently building TempestRemap on NCAR machine Cheyenne. I'm using the 2.0.0 tag to be safe. My build directories are located here:

/glade/u/home/lvank/github/tempestremap/build (gnu)
/glade/u/home/lvank/github/tempestremap/build_intel (intel)

Both contain a bash script (build_*.bsh) containing the various exports required for configure. Hope you can access these.

GNU

With a couple of module loads and exports I managed to successfully go through the GNU configure. Yet the actual build fails:

  CXXLD    libTempestRemap.la
ar: src/Announce.o: No such file or directory
Makefile:805: recipe for target 'libTempestRemap.la' failed
make: *** [libTempestRemap.la] Error 1

Someone may want to look into this.

Intel

OK, at first intel building also didn't work. But by updating to the intel/18.0.1 compiler I could successfully compile with intel. I'm narrowing the title to "GNU building problem on Cheyenne". I'm leaving my build configuration here for future reference:
/glade/u/home/lvank/github/tempestremap/build_intel/build_intel.bsh

@paullric
Copy link
Contributor

paullric commented Jan 23, 2019

Apologies -- somehow this issue got overlooked. I've successfully reproduced it even with the most up-to-date version of the code:

ullrich/tempestremap> setenv CXX g++
ullrich/tempestremap> setenv CC gcc
ullrich/tempestremap> autoreconf -fi
...
ullrich/tempestremap> mkdir build && cd build
...
tempestremap/build> setenv LDFLAGS "-L/glade/u/apps/ch/opt/netlib/3.7.0/gnu/4.8.5/lib/ -lgfortran"
...
tempestremap/build> ../configure --with-blas=/glade/u/apps/ch/opt/netlib/3.7.0/gnu/4.8.5/ --with-netcdf=/glade/u/apps/ch/opt/netcdf/4.4.1.1/gnu/6.3.0/
...
tempestremap/build> make all -j 4
  CXX      src/GenerateLambertConfConicMesh.lo
  CXX      src/GenerateOverlapMesh.lo
  CXX      src/GenerateOverlapMesh_v1.lo
  CXX      src/GaussQuadrature.lo
  CXX      src/GaussLobattoQuadrature.lo
  CXX      src/LegendrePolynomial.lo
  CXX      src/FiniteElementTools.lo
  CXX      src/NetCDFUtilities.lo
  CXX      src/ncvalues.lo
  CXX      src/netcdf.lo
  CXX      src/OverlapMesh.lo
  CXX      src/OfflineMap.lo
  CXX      src/LinearRemapSE0.lo
  CXX      src/LinearRemapFV.lo
../src/LinearRemapFV.cpp: In function 'void BuildFitArray(const Mesh&, const TriangularQuadratureRule&, int, const AdjacentFaceVector&, int, int, const DataArray1D<double>&, DataArray2D<double>&, DataArray1D<double>&)':
../src/LinearRemapFV.cpp:668:17: note: #pragma message: Pre-triangularize this matrix for efficiency
 #pragma message "Pre-triangularize this matrix for efficiency"
                 ^
  CXX      src/TriangularQuadrature.lo
  CXX      src/ApplyOfflineMap.lo
  CXX      src/GenerateOfflineMap.lo
  CXX      src/GenerateConnectivityData.lo
  CXX      src/kdtree.lo
  CXX      src/triangle.lo
  CXX      src/GenerateTestData.o
  CXX      src/GenerateCSMeshExe.o
  CXX      src/GenerateRLLMeshExe.o
  CXX      src/GenerateUTMMeshExe.o
  CXX      src/GenerateICOMeshExe.o
  CXX      src/GenerateVolumetricMesh.o
  CXX      src/GenerateLambertConfConicMeshExe.o
  CXX      src/GenerateOverlapMeshExe.o
  CXX      src/GenerateOverlapMeshExe_v1.o
  CXX      src/ApplyOfflineMapExe.o
  CXX      src/GenerateOfflineMapExe.o
  CXX      src/CalculateDiffNorms.o
  CXX      src/GenerateGLLMetaDataExe.o
  CXX      src/GenerateConnectivityFile.o
  CXX      src/GenerateTransposeMap.o
  CXX      src/CoarsenRectilinearData.o
  CXX      src/MeshToTxt.o
  CXX      src/ShpToMesh.o
  CXXLD    libTempestRemap.la
ar: src/Announce.o: No such file or directory
Makefile:823: recipe for target 'libTempestRemap.la' failed
make: *** [libTempestRemap.la] Error 1
make: *** Waiting for unfinished jobs....

@vijaysm
Copy link
Collaborator

vijaysm commented Jan 23, 2019

@paullric I'll take a look at this later today. I've only checked on yellowstone in the past and have not configured on cheyenne before. Will make sure the autotools configuration works there as well.

@paullric
Copy link
Contributor

paullric commented Jan 23, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants