-
Notifications
You must be signed in to change notification settings - Fork 10
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
Symlink Elmer mpirun
to orterun
#101
Conversation
According to https://snapcraft.io/docs/snap-layouts
Elmer might not like a symlink and if that's the case we'd need to change
|
CC @tecodrive |
in snap package mpirun.openmpi is a symlink to orterun* no need to use bind |
hmm.. then we should link directly to |
marked "*" as executable under Linux (ext4) orterun* additional symlink from mpirun to orterun should be ok |
Per snap documentation:
|
mpirun
to mpirun.openmpi
mpirun
to orterun
0a32ddf
to
d2c1ef8
Compare
@tecodrive please test on Snap edge when build completes (https://github.com/FreeCAD/FreeCAD-snap/actions/runs/5872799602/job/15924976406) ? TIA |
@tecodrive please run snap edge to test and report back. TIA! |
Problem with Multi-CPU core support in FreeCAD snap package solved! Installation:
Instructions to run Multi-CPU core support in FreeCAD:
|
problem is solved, but it's crazy, there are no file mpirun in snap/freecad/current/usr/bin/ i see only
how can /snap/freecad/current/usr/Mod/Fem/femsolver/elmer/task.py find mpirun?
|
@chennes sorry, tried to solve this without you but no joy. Can you weigh-in ? |
I'm having a hard time following the above discussion: what is the problem we are trying to solve? |
I'm going to change the symlink to see what happens usr/bin/mpirun.openmpi: # ElmerSolver_mpi
symlink: $SNAP/usr/bin/mpirun Edit: Done in 6eb4d24 Triggered a new Snap edge build https://github.com/FreeCAD/FreeCAD-snap/actions/runs/5879743555/job/15944502206 |
sorry, but this was a step backwards. The bug is back, too bad. |
Reverted in 18bb662 |
@berndhahnebach any idea ? See #100 (comment) Why doesn't the FEM code reference the file extension? |
There are two MPI variants from different developers. Both are included in the SNAP package.
Users who use other packages like apt, appimage etc., calling 'mpirun' in task.py is correct because these packages do not include gmesh and elmer and must be installed separately. |
Fixes #100