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

CFDEMcoupling check is not picking up errors #2966

Open
dithwick opened this issue Jul 24, 2023 · 3 comments
Open

CFDEMcoupling check is not picking up errors #2966

dithwick opened this issue Jul 24, 2023 · 3 comments
Milestone

Comments

@dithwick
Copy link
Contributor

Hi,

We have installed CFDEMcoupling/3.8.0-foss-2019b based on easybuilders/easybuild-easyconfigs#16159 (appreciate the PR hasn't been merged yet but it does what we need it to).

Anyway, this may reflect my lack of understanding how cfdem works but while reviewing the logs I noticed that it was showing the following errors while running:

source $CFDEM_bashrc && $CFDEM_SRC_DIR/lagrangian/cfdemParticle/etc/cfdemSystemTest.sh

************************************
using default CFDEM_SRC_DIR = /apps/sw-eb/software/CFDEMcoupling/3.8.0-foss-2019b/CFDEMcoupling-3.8.0/src
using default CFDEM_SOLVER_DIR = /apps/sw-eb/software/CFDEMcoupling/3.8.0-foss-2019b/CFDEMcoupling-3.8.0/applications/solvers
using default CFDEM_DOC_DIR = /apps/sw-eb/software/CFDEMcoupling/3.8.0-foss-2019b/CFDEMcoupling-3.8.0/doc
using default CFDEM_UT_DIR = /apps/sw-eb/software/CFDEMcoupling/3.8.0-foss-2019b/CFDEMcoupling-3.8.0/applications/utilities
using default CFDEM_TUT_DIR = /apps/sw-eb/software/CFDEMcoupling/3.8.0-foss-2019b/CFDEMcoupling-3.8.0/tutorials
using default CFDEM_LAMMPS_LIB_DIR = /apps/sw-eb/software/CFDEMcoupling/3.8.0-foss-2019b/LIGGGHTS-3.8.0/src/../lib
using default CFDEM_LIGGGHTS_LIB_PATH = /apps/sw-eb/software/CFDEMcoupling/3.8.0-foss-2019b/LIGGGHTS-3.8.0/src
using default CFDEM_ADD_LIBS_DIR = /apps/sw-eb/software/CFDEMcoupling/3.8.0-foss-2019b/CFDEMcoupling-3.8.0/src/lagrangian/cfdemParticle/etc/addLibs_universal
using default CFDEM_ADD_LIBS_NAME = additionalLibs_5.0-20180606
!!! ERROR !!!: CFDEM_ADD_LIBS_DIR/CFDEM_ADD_LIBS_NAME=/apps/sw-eb/software/CFDEMcoupling/3.8.0-foss-2019b/CFDEMcoupling-3.8.0/src/lagrangian/cfdemParticle/etc/addLibs_universal/additionalLibs_5.0-20180606 does not exist.
using default CFDEM_LIB_DIR = /apps/sw-eb/software/CFDEMcoupling/3.8.0-foss-2019b/CFDEMcoupling-3.8.0/platforms//lib
using default CFDEM_USER_LIB_DIR = /apps/sw-eb/software/CFDEMcoupling/3.8.0-foss-2019b/project_user_dir/platforms//lib
using default CFDEM_APP_DIR = /apps/sw-eb/software/CFDEMcoupling/3.8.0-foss-2019b/CFDEMcoupling-3.8.0/platforms//bin
using default CFDEM_USER_APP_DIR = /apps/sw-eb/software/CFDEMcoupling/3.8.0-foss-2019b/project_user_dir/platforms//bin
************************************

*********************************************
* C F D E M (R) c o u p l i n g             *
*                                           *
* by DCS Computing GmbH                     *
* www.dcs-computing.com                     *
*********************************************

*********************************
CFDEM(R)coupling system settings:
*********************************
CFDEM_VERSION=3.8.0
couple to OF_VERSION=5.0-20180606
compile option=Opt

check if paths are set correctly
valid:yes critical:yes - $CFDEM_PROJECT_DIR = /apps/sw-eb/software/CFDEMcoupling/3.8.0-foss-2019b/CFDEMcoupling-3.8.0
valid:yes critical:no - $CFDEM_PROJECT_USER_DIR = /apps/sw-eb/software/CFDEMcoupling/3.8.0-foss-2019b/project_user_dir
valid:yes critical:yes - $CFDEM_SRC_DIR = /apps/sw-eb/software/CFDEMcoupling/3.8.0-foss-2019b/CFDEMcoupling-3.8.0/src
valid:yes critical:yes - $CFDEM_SOLVER_DIR = /apps/sw-eb/software/CFDEMcoupling/3.8.0-foss-2019b/CFDEMcoupling-3.8.0/applications/solvers
valid:yes critical:yes - $CFDEM_TUT_DIR = /apps/sw-eb/software/CFDEMcoupling/3.8.0-foss-2019b/CFDEMcoupling-3.8.0/tutorials
valid:yes critical:yes - $CFDEM_LIGGGHTS_SRC_DIR = /apps/sw-eb/software/CFDEMcoupling/3.8.0-foss-2019b/LIGGGHTS-3.8.0/src
valid:yes critical:yes - $CFDEM_LIGGGHTS_LIB_PATH = /apps/sw-eb/software/CFDEMcoupling/3.8.0-foss-2019b/LIGGGHTS-3.8.0/src
valid:yes critical:yes - $CFDEM_LPP_DIR = /apps/sw-eb/software/CFDEMcoupling/3.8.0-foss-2019b/LPP-633058e1abb8b9bea1f9e6e47ceae8376ad3661a
valid:yes critical:yes - $CFDEM_ADD_LIBS_DIR = /apps/sw-eb/software/CFDEMcoupling/3.8.0-foss-2019b/CFDEMcoupling-3.8.0/src/lagrangian/cfdemParticle/etc/addLibs_universal
valid:NO  critical:yes - $CFDEM_LIB_DIR = /apps/sw-eb/software/CFDEMcoupling/3.8.0-foss-2019b/CFDEMcoupling-3.8.0/platforms//lib does not exist
valid:NO  critical:yes - $CFDEM_APP_DIR = /apps/sw-eb/software/CFDEMcoupling/3.8.0-foss-2019b/CFDEMcoupling-3.8.0/platforms//bin does not exist
valid:NO  critical:no - $CFDEM_USER_LIB_DIR = /apps/sw-eb/software/CFDEMcoupling/3.8.0-foss-2019b/project_user_dir/platforms//lib does not exist
valid:NO  critical:no - $CFDEM_USER_APP_DIR = /apps/sw-eb/software/CFDEMcoupling/3.8.0-foss-2019b/project_user_dir/platforms//bin does not exist
valid:NO  critical:no - $CFDEM_TEST_HARNESS_PATH = /apps/sw-eb/software/CFDEMcoupling/3.8.0-foss-2019b/project_user_dir/log/logFilesCFDEM-3.8.0-5.0-20180606 does not exist
valid:NO  critical:no - $C3PO_SRC_DIR =  does not exist
`

The inference being that there are critical paths that are missing from the installation although the easyblock passes this as a correct install. If you source $CFDEM_bashrc manually you see the following:

source $CFDEM_bashrc
************************************
using userdefined CFDEM_SRC_DIR = /apps/sw-eb/software/CFDEMcoupling/3.8.0-foss-2019b/CFDEMcoupling-3.8.0/src
using userdefined CFDEM_SOLVER_DIR = /apps/sw-eb/software/CFDEMcoupling/3.8.0-foss-2019b/CFDEMcoupling-3.8.0/applications/solvers
using userdefined CFDEM_DOC_DIR = /apps/sw-eb/software/CFDEMcoupling/3.8.0-foss-2019b/CFDEMcoupling-3.8.0/doc
using userdefined CFDEM_UT_DIR = /apps/sw-eb/software/CFDEMcoupling/3.8.0-foss-2019b/CFDEMcoupling-3.8.0/applications/utilities
using userdefined CFDEM_TUT_DIR = /apps/sw-eb/software/CFDEMcoupling/3.8.0-foss-2019b/CFDEMcoupling-3.8.0/tutorials
using userdefined CFDEM_LAMMPS_LIB_DIR = /apps/sw-eb/software/CFDEMcoupling/3.8.0-foss-2019b/LIGGGHTS-3.8.0/src/../lib
using userdefined CFDEM_LIGGGHTS_LIB_PATH = /apps/sw-eb/software/CFDEMcoupling/3.8.0-foss-2019b/LIGGGHTS-3.8.0/src
using userdefined CFDEM_ADD_LIBS_DIR = /apps/sw-eb/software/CFDEMcoupling/3.8.0-foss-2019b/CFDEMcoupling-3.8.0/src/lagrangian/cfdemParticle/etc/addLibs_universal
using userdefined CFDEM_ADD_LIBS_NAME = additionalLibs_5.0-20180606
using userdefined CFDEM_LIB_DIR = /apps/sw-eb/software/CFDEMcoupling/3.8.0-foss-2019b/CFDEMcoupling-3.8.0/platforms//lib
using userdefined CFDEM_USER_LIB_DIR = /platforms//lib
using userdefined CFDEM_APP_DIR = /apps/sw-eb/software/CFDEMcoupling/3.8.0-foss-2019b/CFDEMcoupling-3.8.0/platforms//bin
using userdefined CFDEM_USER_APP_DIR = /platforms//bin
make new dirs  ? (y/n)

Have I misunderstood how cfdem is used (very possible), or are there missing directories with the build?

Thanks

@boegel boegel added this to the 4.x milestone Aug 2, 2023
@boegel
Copy link
Member

boegel commented Aug 2, 2023

@dithwick I'm not sure how well the CFDEMcoupling installation that we provide(d) was tested, so it seems likely that we overlooked some things...

It seems like we should be running cfdemSystemTest.sh as a sanity check command, at least if it also produces a useful exit code...

@boegel
Copy link
Member

boegel commented Aug 22, 2023

@dithwick Have you look into how to fix this at all by tweaking the easyconfig file?

Our users are now hitting the problem too, so if any effort has been done by you on this, would be nice to reuse it rather than go through the same pain...

@dithwick
Copy link
Contributor Author

Not yet, sorry. Unfortunately, none of us have used CFDEM before and are uncertain how exactly it should work.

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

No branches or pull requests

2 participants