-
Notifications
You must be signed in to change notification settings - Fork 81
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
Compilation Error NaluWind & trilinos #1218
Comments
[nalu-wind] Instructions:Make a directory in the Nalu-Wind directory for building,Copy this script to that directory and edit theoptions below to your own needs and run it.#rm -rf CMakeCache.txt CTestCustom.cmake Makefile Nalu-WindTargets.cmake Testing CMakeFiles CTestTestfile.cmake make.log reg_tests unit_tests cmake_install.cmake DartConfiguration.tcl include Nalu-WindConfig.cmake src set -e TRILINOS_ROOT_DIR=/public1/soft/Trilinos/12.12.1-icc-original Clean before cmake configureset +e Extra TPLs that can be included in the cmake configure:-DENABLE_PARAVIEW_CATALYST:BOOL=ON \-DPARAVIEW_CATALYST_INSTALL_PATH:PATH=${CATALYST_IOSS_ADAPTER_ROOT_DIR} \-DENABLE_OPENFAST:BOOL=ON \-DOpenFAST_DIR:PATH=${OPENFAST_ROOT_DIR} \-DENABLE_HYPRE:BOOL=ON \-DHYPRE_DIR:PATH=${HYPRE_ROOT_DIR} \-DENABLE_TIOGA:BOOL=ON \-DTIOGA_DIR:PATH=${TIOGA_ROOT_DIR} \(set -x; cmake #make VERBOSE=1 2>&1 | tee make.log |
[trilinos] The base directory where mpi is located.From here you should be able to find include/mpi.h bin/mpicxx, bin/mpiexec, etc.MPI_ROOT_DIR=/public1/soft/oneAPI/2022.1/mpi/latest Note: Don't forget to set your LD_LIBRARY_PATH to $mpi_base_dir/libYou may also need to add to LD_LIBRARY_PATH the lib directory for the compilerused to create the mpi executables.TPLS needed by trilinos, possibly provided by HomeBrew on a Mac#BOOST_ROOT_DIR=/usr/local/Cellar/boost/1.56.0/include/boost/ EXTRA_ARGS=$@ Cleanup old cache before we configureNote: This does not remove files produced by make. Use "make clean" for this.find . -name "CMakeFiles" -exec rm -rf {} ; CC=icc cmake .. $EXTRA_ARGS |
Is this separate from #1211? |
Yes! This is a problem that we have installed on the same computer and encountered. |
@lylclclyl we suggest building with spack going forward. We have updated several package recipes and will be supporting builds. |
We speculate that it may be that it is likely to be a compilation problem with Trilinos, and it is likely that individual modules are not enabled and the dependent functions are missing when compiling Nalu-Wind. Is the compilation method of 12.12.1 Trilinos and 1.2.0 Nalu-Wind. Here is our running file, ask for help.
nalu-wind.sh(.dat) & trilinos.sh(.dat)
trilinos.txt
nalu-wind.txt
The text was updated successfully, but these errors were encountered: