Hello everyone,
I installed OF, LIGGGHTS and CFDEM on a cluster.
I works fine for my useraccount, but if someone with the same permissions as me tries to run an example-case, the terminal says "mpi cannot find executable" or something similar (I dont have a screenshot or exact problem description for now. If its needed, I can add more details next week).
OF and LIGGGHTS work fine for other users.
To get around this problem, I had just everyone typing "cfdemCompCFDEM" in the terminal once, which would override the previous installation.
This lead to the person who compiled also to be able to run the example-cases, as well as me and the other users who compiled CFDEM before as well.
Unfortunately this very inelegant solution leads to some new problems, mainly write permission issues.
So my question finally is, how can everyone use CFDEM without everyone having to compile it once?
I looked through the files which are executed automatically like bashrc and could not find the lines which make things work (ofc the bashrc had the additions which are in the installation guide)
Help would be much appreciated!
Best regards
Robert
j-kerbl | Tue, 12/01/2015 - 10:38
Hi Robert,
Hi Robert,
you need to take care of two things:
User permissions for the created executables and user-dependent variables. Check the OF-bashrc and the CFDEM-part in your bashrc for $USER and $HOME entries. Usually the binaries end up in $FOAM_USER_APPBIN, which would be different for every user. You have to make sure the other users are allowed to execute these.
You maybe want to contact your admin and get a system-wide installation as Omid suggests.
Cheers
Josef