FRENSIE installing and compiling error

  • Thread starter Thread starter emilmammadzada
  • Start date Start date
  • Tags Tags
    Error
Click For Summary
SUMMARY

The forum discussion centers on installation and compilation errors encountered while setting up the FRENSIE software. Users reported issues with CMake configuration, specifically related to the CMakeLists.txt file and the frensie.sh script. The primary error indicated that the project cannot be installed in the source directory, and users were advised to modify specific variables in the frensie.sh script to reflect the correct system paths. It is essential to follow the build instructions carefully to avoid these errors.

PREREQUISITES
  • FRENSIE software installation knowledge
  • Understanding of CMake version 3.22.1
  • Familiarity with GNU Compiler Collection (GCC) version 11.3.0
  • Basic knowledge of shell scripting in Linux
NEXT STEPS
  • Review the FRENSIE installation guide for detailed build instructions
  • Learn how to configure CMake variables in shell scripts
  • Investigate the purpose of each variable in the frensie.sh script
  • Explore troubleshooting techniques for CMake configuration errors
USEFUL FOR

This discussion is beneficial for software developers, particularly those involved in scientific computing, who are attempting to install and configure the FRENSIE software package.

emilmammadzada
Messages
133
Reaction score
19
TL;DR
FRENSIE installing and compiling error
When i want compiling to Frensie code , app gave me this error
emil@DESKTOP-:~/FRENSIE-pub/build$ cmake ..
-- The C compiler identification is GNU 11.3.0
-- The CXX compiler identification is GNU 11.3.0
-- The Fortran compiler identification is GNU 11.3.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Detecting Fortran compiler ABI info
-- Detecting Fortran compiler ABI info - done
-- Check for working Fortran compiler: /usr/bin/gfortran - skipped
-- Found OpenMP_C: -fopenmp (found version "4.5")
-- Found OpenMP_CXX: -fopenmp (found version "4.5")
-- Found OpenMP_Fortran: -fopenmp (found version "4.5")
-- Found OpenMP: TRUE (found version "4.5")
-- Looking for include file unistd.h
-- Looking for include file unistd.h - found
-- Found SWIG: /usr/bin/swig4.0 (found suitable version "4.0.2", minimum required is "4.0.0")
-- Found PythonInterp: /usr/bin/python2.7 (found suitable version "2.7.18", minimum required is "2.7")
-- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython2.7.so (found suitable version "2.7.18", minimum required is "2.7")
-- Found NumPy: version "1.16.6" /home/emil/.local/lib/python2.7/site-packages/numpy/core/include
-- Found Boost: /usr/local/lib/cmake/Boost-1.72.0/BoostConfig.cmake (found suitable version "1.72.0", minimum required is "1.72.0") found components: test_exec_monitor
CMake Error at cmake/EnableBoostSupport.cmake:25 (IF):
if given arguments:

"EQUAL" "RELEASE"

Unknown arguments specified
Call Stack (most recent call first):
CMakeLists.txt:170 (ENABLE_BOOST_SUPPORT)-- Configuring incomplete, errors occurred!
See also "/home/emil/FRENSIE-pub/build/CMakeFiles/CMakeOutput.log".
 
Engineering news on Phys.org
You are not supposed to run cmake yourself!, you are supposed to copy and run the script frensie.sh to configure. That runs cmake. It's in the folder scripts, but follow the build instructions.
 
  • Like
Likes   Reactions: emilmammadzada
Alex A said:
You are not supposed to run cmake yourself!, you are supposed to copy and run the script frensie.sh to configure. That runs cmake. It's in the folder scripts, but follow the build instructions.
I did the same, it gave an error
emil@DESKTOP-:~/FRENSIE-pub/build$ l
frensie.sh*
emil@DESKTOP-:~/FRENSIE-pub/build$ ./frensie.sh
cmake version 3.22.1

CMake suite maintained and supported by Kitware (kitware.com/cmake).
CMake Warning:
No source or binary directory provided. Both will be assumed to be the
same as the current working directory, but note that this warning will
become a fatal error in future CMake releases.CMake Error: The source directory "/home/emil/FRENSIE-pub/build" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
 
Did you do build instruction 5,
"change the variables in the script to reflect the desired system paths (if the basic build instructions where use for a package the PACKAGE_PREFIX variable can be left blank in the script)."
 
  • Like
Likes   Reactions: emilmammadzada
Alex A said:
Did you do build instruction 5,
"change the variables in the script to reflect the desired system paths (if the basic build instructions where use for a package the PACKAGE_PREFIX variable can be left blank in the script)."
How should I change the variables in that file? Is it in the CmakeList.txt file?
 

Attachments

Edit this section in the script,
Code:
HDF5_PREFIX_PATH=
MOAB_PREFIX_PATH=
DAGMC_PREFIX_PATH=
BOOST_PREFIX_PATH=
MPI_PREFIX_PATH=
ROOT_PREFIX_PATH=
SWIG_PREFIX_PATH=
DOXYGEN_PREFIX_PATH=
FRENSIE_SRC=
FRENSIE_INSTALL=
XSDIR_PATH=

Not everything is required.
 
  • Like
Likes   Reactions: emilmammadzada
Alex A said:
Edit this section in the script,
Code:
HDF5_PREFIX_PATH=
MOAB_PREFIX_PATH=
DAGMC_PREFIX_PATH=
BOOST_PREFIX_PATH=
MPI_PREFIX_PATH=
ROOT_PREFIX_PATH=
SWIG_PREFIX_PATH=
DOXYGEN_PREFIX_PATH=
FRENSIE_SRC=
FRENSIE_INSTALL=
XSDIR_PATH=

Not everything is required.
I have added the fensie.sh.App give me this error
[emil@DESKTOP-:~/FRENSIE-pub/build$ ./frensie.sh
cmake version 3.22.1

CMake suite maintained and supported by Kitware (kitware.com/cmake).
CMake Error at cmake/EnforceOutOfSourceBuild.cmake:20 (MESSAGE):
This project cannot be installed in the source directory.
Call Stack (most recent call first):
CMakeLists.txt:32 (ENFORCE_OUT_OF_SOURCE_BUILD)-- Configuring incomplete, errors occurred!
See also "/home/emil/FRENSIE-pub/build/CMakeFiles/CMakeOutput.log".]
[
EXTRA_ARGS=$@
HDF5_PREFIX_PATH=
MOAB_PREFIX_PATH=
DAGMC_PREFIX_PATH=
BOOST_PREFIX_PATH=/usr/include/boost
MPI_PREFIX_PATH=
ROOT_PREFIX_PATH=
SWIG_PREFIX_PATH=/usr/bin/swig
DOXYGEN_PREFIX_PATH=/usr/bin/doxygen
FRENSIE_SRC=/home/emil/FRENSIE-pub/build
FRENSIE_INSTALL=/home/emil/FRENSIE-pub
XSDIR_PATH=/home/emil/FRENSIE-pub/packages/data/xsdir]
 
Last edited:

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
Replies
18
Views
8K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 2 ·
Replies
2
Views
6K
Replies
5
Views
15K
  • · Replies 3 ·
Replies
3
Views
3K