You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to install DAGMC as a dependency of OpenMC. I'm using the instructions here to install the dependencies for DAGMC. I encountered some problems when installing MOAB, specifically after running 'autoreconf -fi', I obtained the following error:
error: required file 'config/MOABConfig.h.in' not found
However, this above file is not contained in the source directory
Later on I tried to install DAGMC, and ran into an error after running this:
-- Submodule update
-- CMAKE_BUILD_TYPE not specified, defaulting to Release
-- CMAKE_BUILD_TYPE: Release
CMake Error at cmake/FindMOAB.cmake:17 (message):
Could not find MOAB. Set -DMOAB_DIR=<MOAB_DIR> when running cmake or use
the $MOAB_DIR environment variable.
Call Stack (most recent call first):
CMakeLists.txt:62 (find_package)
-- Configuring incomplete, errors occurred!
Hello, DMOAB_DIR is the path where you have installed the MOAB project. You need to install MOAB first, and then you can install DAGMC. We are currently updating our installation methods and hope to soon provide an automated process that installs the required dependencies while installing DAGMC.
I'm using the same instructions to install MOAB. For me, I run autoreconf -fi and I get this error
(base) fbsmith@Ada:~/dagmc/MOAB/moab$ autoreconf -fi
error messages... configure.ac:53: warning: The macro "AC_ERROR" is obsolete. configure.ac:53: You should run autoupdate.
error messages... configure.ac:112: warning: The macro "AC_LANG_CPLUSPLUS" is obsolete. configure.ac:112: You should run autoupdate.
error messages... configure.ac:112: warning: The macro "AC_TRY_COMPILE" is obsolete. configure.ac:112: You should run autoupdate.
error messages... configure.ac:91: error: possibly undefined macro: AC_DISABLE_SHARED If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. autoreconf: error: /usr/bin/autoconf failed with exit status: 1
I run autoupdate as it recommends, but to no avail. What should be my next step?
Instead, I built MOAB as @ahnaf-tahmid-chowdhury suggested above and it seemed to be installed successfully as "which mbconvert" command worked. But now I'm getting the following error when I try to install DAGMC. Any thoughts?
yychoi@yychoi-Precision-7920-Tower:~/dagmc_bld/DAGMC/bld$ cmake ../src -DMOAB_DIR=$HOME/dagmc_bld/MOAB \
-DBUILD_TALLY=ON \
-DCMAKE_INSTALL_PREFIX=$INSTALL_PATH
-- CMAKE_BUILD_TYPE not specified, defaulting to Release
-- CMAKE_BUILD_TYPE: Release
CMake Error at cmake/FindMOAB.cmake:19 (message):
Could not find MOAB. Set -DMOAB_DIR=<MOAB_DIR> when running cmake or use
the $MOAB_DIR environment variable.
Call Stack (most recent call first):
CMakeLists.txt:60 (find_package)
-- Configuring incomplete, errors occurred!
See also "/home/yychoi/dagmc_bld/DAGMC/bld/CMakeFiles/CMakeOutput.log".
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hi,
I'm trying to install DAGMC as a dependency of OpenMC. I'm using the instructions here to install the dependencies for DAGMC. I encountered some problems when installing MOAB, specifically after running '
autoreconf -fi', I obtained the following error:error: required file 'config/MOABConfig.h.in' not foundHowever, this above file is not contained in the source directory
Later on I tried to install DAGMC, and ran into an error after running this:
The error:
How can I fix this issue?
All reactions