Package Base Details: gmsh

Git Clone URL: https://aur.archlinux.org/gmsh.git (read-only, click to copy)
Submitter: S1G1
Maintainer: gborzi (carlosal1015, gpettinello)
Last Packager: carlosal1015
Votes: 61
Popularity: 0.040699
First Submitted: 2006-04-04 23:31 (UTC)
Last Updated: 2024-01-21 21:19 (UTC)

Packages (2)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 .. 20 Next › Last »

carlosal1015 commented on 2021-08-03 05:25 (UTC)

Hi, thanks for the packaging, it will be amazing that after installing gmsh, and the optional dependency python, the python module gmsh keep active in PYTHONPATH. If we run

$ python -c "import gmsh"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'gmsh'

but with

$ PYTHONPATH=/usr/share/gmsh/api/python python -c "import gmsh"

works :-)

In debian package python3-gmsh, they put in /usr/lib/python3/dist-packages/gmsh.py. Will be correct put in ${pkgdir}/usr/lib/python3.9/site-packages/gmsh or create a symbolic link from ${pkgdir}/usr/share/gmsh/api/python/gmsh.py to ${pkgdir}/usr/lib/python3.9/site-packages/gmsh? Maybe works something like export PYTHONPATH="/usr/share/gmsh/api/python/$PYTHONPATH" in /etc/profile.d/gmsh.sh.

Cheers.

libreliu commented on 2021-05-05 07:26 (UTC)

Thanks for the package ;)

Got the following error while trying to install with yay -S gmsh:

[ 98%] Building CXX object CMakeFiles/gmsh.dir/api/gmshc.cpp.o
[ 98%] Built target shared
[100%] Linking CXX executable gmsh
[100%] Built target gmsh
Generating ../doc/texinfo/gmsh.info
Generating ../doc/texinfo/gmsh.html
Generating ../doc/texinfo/gmsh.txt
Generating ../doc/texinfo/gmsh.pdf
/usr/bin/texi2dvi: TeX neither supports -recorder nor outputs \openout lines in its log file
make[3]: *** [CMakeFiles/doc.dir/build.make:131: ../doc/texinfo/gmsh.pdf] Error 1
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [CMakeFiles/Makefile2:762: CMakeFiles/doc.dir/all] Error 2
make[1]: *** [CMakeFiles/Makefile2:769: CMakeFiles/doc.dir/rule] Error 2
make: *** [Makefile:303: doc] Error 2

The error was probably raised in LC_ALL=C make doc.

capitalaslash commented on 2021-02-16 10:22 (UTC)

please update python installation path to 3.9

gborzi commented on 2020-11-12 19:41 (UTC)

@gdolle Now it's fixed. I've added an environment script for csh as well.

gdolle commented on 2020-11-12 17:42 (UTC)

Hi @gborzi, no unfortunately in both cases, overloading JULIA_LOAD_PATH seems to be the way, ju does not have standard path similar to python site-package directory to my knowledge.. (See https://docs.julialang.org/en/v1/manual/environment-variables/#JULIA_LOAD_PATH). I think /usr/share/gmsh/<path_somewhere> may avoid you headache in the future with other pkg. Best, G.

gborzi commented on 2020-11-12 15:54 (UTC)

@gdolle Thanks for the comment. I don't know the julia framework, so I have a question on where to put the file: if the file is under /usr/share/julia/gmsh will julia be able to read it without the need to have a file under /etc/profile.d? i.e. will it be already in the load path under /usr/share/julia/gmsh? If so, I'd prefer this solution.

gdolle commented on 2020-11-11 21:47 (UTC) (edited on 2020-11-11 21:48 (UTC) by gdolle)

It might be better to move gmsh.jl from /usr/lib since it is not a shared library. Maybe /usr/share/gmsh/api/julia/ (or /usr/share/julia/gmsh ?) and add an environment script /etc/profile.d/gmsh.sh with

export JULIA_LOAD_PATH="/usr/share/gmsh/api/julia/:$JULIA_LOAD_PATH" (or "@gmsh")

Then it would work out of box in julia command line import gmsh.

gborzi commented on 2020-10-21 10:33 (UTC)

@newsboost Looks like the problem is with the voro++ package. The source for voro++ couldn't be downloaded during your attempt to compile. Now it downloads without problem. Please retry the installation.