-
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
Snap Elmer dependency (mpirun.openmpi
) file missing and needs symlink
#100
Comments
@tecodrive Thanks for reporting! Want to submit a PR ? |
mpirun.openmpi
& mpirun.mpich
) files missing and needs rename/symlink
mpirun.openmpi
& mpirun.mpich
) files missing and needs rename/symlinkmpirun.openmpi
& mpirun.mpich
) files missing and needs rename/symlink
mpirun.openmpi
& mpirun.mpich
) files missing and needs rename/symlinkmpirun.openmpi
& mpirun.mpich
) files missing and need rename/symlink
@tecodrive here is the source: Specifically: if system() != "Windows":
args.extend(["mpirun"])
else:
args.extend(["mpiexec"]) Edit: Why doesn't the FEM code reference the file extension? Edit2: Maybe it has to do with the code comments in line 116
|
mpirun without extension is a standard program in most distros. Snap package contain two files mpirun.mpich and mpirun.openmpi - conflict. FreeCAD (not snap) have not include elmer, mpi an other externals. People must install Elmer. solution would be
or better |
Question is: Thoughts ? Edit: snapcraft.yml shows: FreeCAD-snap/snap/snapcraft.yaml Lines 124 to 134 in 0e20f52
Edit2: Looks like we should use Snap Layouts https://snapcraft.io/docs/snap-layouts in snapcraft.yaml: FreeCAD-snap/snap/snapcraft.yaml Lines 33 to 61 in 0e20f52
|
yes, Edit2, use Snap Layouts and add a symlink
|
@tecodrive can you review #101 please ? |
@tecodrive you mentioned 2 files missing, do i need to make one for |
there are 2 files for the same thing /snap/freecad/current/usr/bin/mpirun.mpich i have change mpirun.openmpi to mpirun and check FreeCAD Modul FEM ElmerSolver_mpi run correct. when i change mpirun.mpich -> mpirun the FEM Solution needs more time. I do not know why. |
mpirun.openmpi
& mpirun.mpich
) files missing and need rename/symlinkmpirun.openmpi
) file missing and needs symlink
Thanks for the feedback. Can you please review #101 ? |
in snap package mpirun.openmpi is a symlink to orterun* /snap/freecad/current/usr/bin i thing no need to use bind |
using ElmerSolver_mpi
/snap/freecad/current/usr/Mod/Fem/femsolver/elmer/tasks.py
line 135: args.extend(["mpirun"])
file not found because in snap package for linux only two files exist with wrong filenames
/snap/freecad/current/usr/bin/mpirun.mpich
/snap/freecad/current/usr/bin/mpirun.openmpi
solution would be rename or create a additional symlink
mpirun.openmpi => mpirun
The text was updated successfully, but these errors were encountered: