FluDAG Installation: Could not find MOAB

Hi all,

I am currently trying to install FluDAG to use with FLUKA. So far the installation process has gone well, first I went through the dependencies: Installing dependencies — DAGMC . The final steps after the command “$ ln -s moab src” in the instructions is still unclear to me, I have found a packaged version and installed it from https://anaconda.org/conda-forge/moab .

When I am on section “Configure FluDAG” (Install FluDAG — DAGMC) and I run the command cmake ../src -DMOAB_DIR=$HOME/dagmc_bld/MOAB \ -DBUILD_FLUKA=ON \ -DFLUKA_DIR=$FLUPRO \ -DCMAKE_INSTALL_PREFIX=$INSTALL_PATH

I get the following error: 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)

For reference I am running Ubuntu 22.04 and have the miniconda3 installed. Does anyone have experience in installing FluDAG? I am not sure why it says it cannot find MOAB when it is at /user/dagmc_bld\MOAB\moab.

Thanks again,

Dear Arpad,

I’m not an expert on FluDAG, but if you installed MOAB using anaconda, then the -DMOAB_DIR=<MOAB_DIR> parameter should point to the anaconda’s version of MOAB and not to $HOME/dagmc_bld/MOAB

Also to keep in mind the FLUKA v4 compatible version of DagMC is available from GitHub - makeclean/DAGMC at fluka-cern