Package Base Details: openfoam

Git Clone URL: https://aur.archlinux.org/openfoam.git (read-only, click to copy)
Submitter: None
Maintainer: petronny (AutoUpdateBot)
Last Packager: AutoUpdateBot
Votes: 60
Popularity: 0.91
First Submitted: 2009-07-02 09:16 (UTC)
Last Updated: 2024-04-01 17:32 (UTC)

Packages (1)

Pinned Comments

petronny commented on 2020-08-04 08:36 (UTC) (edited on 2023-04-14 08:48 (UTC) by petronny)

Pre-built binaries of this package and its dependencies can be found in the arch4edu repository.

Latest Comments

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

Kunda commented on 2019-02-23 11:56 (UTC)

@petronny check out https://repology.org/project/openfoam/related

petronny commented on 2019-02-01 10:53 (UTC)

@Kunda @tomracing So 1901 should be better? Or 6.1901?

tomracing commented on 2019-01-31 21:14 (UTC)

@kunda they are following the ESI scheme then maybe also their package while this package is from the foundation.

Kunda commented on 2019-01-31 21:03 (UTC)

@petronny, interesting that Debian has changed the version scheme for openfoam. See https://repology.org/metapackage/openfoam/badges

Kunda commented on 2019-01-18 16:01 (UTC)

There is a new minor update https://github.com/OpenFOAM/OpenFOAM-6/releases/tag/20190108

petronny commented on 2018-11-27 05:54 (UTC)

@lahwaacz Thanks. I have no problem when building the package. It's bulit with arch4edu-x86_64-build from devtools-arch4edu and it's a definitely clean chroot.

I get that error when I install the binaries into my personal environment and run ofoam. intel-mkl adds it's path before the system one.

lahwaacz commented on 2018-11-26 20:52 (UTC)

@petronny Or just build in a clean chroot... https://wiki.archlinux.org/index.php/DeveloperWiki:Building_in_a_clean_chroot

petronny commented on 2018-11-26 09:38 (UTC) (edited on 2018-11-26 09:38 (UTC) by petronny)

@gpettinello @jancici
My bad. I'm getting gcc: error: unrecognized command line option '--showme:link'. And I thought it was the mpi problem.

Now I found it's because I'm using intel-mkl and its mpicc overrides the system one. So I just need to set WM_MPLIB to MPICH locally.

Sorry for these 2 version bumps.

gpettinello commented on 2018-11-25 09:49 (UTC) (edited on 2018-11-25 09:50 (UTC) by gpettinello)

Had a compile issue with openmpi:

openfoam/src/OpenFOAM-6/platforms/linux64GccDPInt32OptOPENMPI/lib \
    -L/home/gianluca/builds/aur-openfoam/src/ThirdParty-6/platforms/linux64Gcc/openmpi-2.1.1/lib64 -L/home/gianluca/builds/aur-openfoam/src/ThirdParty-6/platforms/linux64Gcc/openmpi-2.1.1/lib -lmpi  -o /home/gianluca/builds/aur-openfoam/src/OpenFOAM-6/platforms/linux64GccDPInt32Opt/lib/openmpi-2.1.1/libPstream.so
/usr/bin/ld: cannot find -lmpi
collect2: error: ld returned 1 exit status
make: *** [/home/gianluca/builds/aur-openfoam/src/OpenFOAM-6/wmake/makefiles/general:169: /home/gianluca/builds/aur-openfoam/src/OpenFOAM-6/platforms/linux64GccDPInt32Opt/lib/openmpi-2.1.1/libPstream.so] Error 1
==> ERROR: A failure occurred in build().
    Aborting...

Solved commenting last patch in PKGBUILD:

echo "export ParaView_MAJOR=${_pmajor}" >> ${srcdir}/prefs.sh
  # https://www.cfd-online.com/Forums/openfoam-installation/148321-gcc-error-unrecognized-command-line-option-showme-link.html
  #echo "export export WM_MPLIB=OPENMPI" >> ${srcdir}/prefs.sh
  cp ${srcdir}/prefs.sh ${srcdir}/${_distpkgname}-${pkgver}/etc #|| return 1

Now compiling regularly

jancici commented on 2018-11-22 08:09 (UTC) (edited on 2018-11-22 08:10 (UTC) by jancici)

I am getting this error:

Making dependency list for source file UOPwrite.C g++ -std=c++11 -m64 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -Wno-attributes -O3 -DNoRepository -ftemplate-depth-100 -DOMPI_SKIP_MPICXX -isystem /home/jano/.cache/yay/openfoam/src/ThirdParty-6/platforms/linux64Gcc/openmpi-2.1.1/include -IlnInclude -I. -I/home/jano/.cache/yay/openfoam/src/OpenFOAM-6/src/OpenFOAM/lnInclude -I/home/jano/.cache/yay/openfoam/src/OpenFOAM-6/src/OSspecific/POSIX/lnInclude -fPIC -c UOPwrite.C -o /home/jano/.cache/yay/openfoam/src/OpenFOAM-6/platforms/linux64GccDPInt32OptOPENMPI/src/Pstream/mpi/UOPwrite.o g++ -std=c++11 -m64 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -Wno-attributes -O3 -DNoRepository -ftemplate-depth-100 -DOMPI_SKIP_MPICXX -isystem /home/jano/.cache/yay/openfoam/src/ThirdParty-6/platforms/linux64Gcc/openmpi-2.1.1/include -IlnInclude -I. -I/home/jano/.cache/yay/openfoam/src/OpenFOAM-6/src/OpenFOAM/lnInclude -I/home/jano/.cache/yay/openfoam/src/OpenFOAM-6/src/OSspecific/POSIX/lnInclude -fPIC -c UIPread.C -o /home/jano/.cache/yay/openfoam/src/OpenFOAM-6/platforms/linux64GccDPInt32OptOPENMPI/src/Pstream/mpi/UIPread.o g++ -std=c++11 -m64 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -Wno-attributes -O3 -DNoRepository -ftemplate-depth-100 -DOMPI_SKIP_MPICXX -isystem /home/jano/.cache/yay/openfoam/src/ThirdParty-6/platforms/linux64Gcc/openmpi-2.1.1/include -IlnInclude -I. -I/home/jano/.cache/yay/openfoam/src/OpenFOAM-6/src/OpenFOAM/lnInclude -I/home/jano/.cache/yay/openfoam/src/OpenFOAM-6/src/OSspecific/POSIX/lnInclude -fPIC -c UPstream.C -o /home/jano/.cache/yay/openfoam/src/OpenFOAM-6/platforms/linux64GccDPInt32OptOPENMPI/src/Pstream/mpi/UPstream.o g++ -std=c++11 -m64 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -Wno-attributes -O3 -DNoRepository -ftemplate-depth-100 -DOMPI_SKIP_MPICXX -isystem /home/jano/.cache/yay/openfoam/src/ThirdParty-6/platforms/linux64Gcc/openmpi-2.1.1/include -IlnInclude -I. -I/home/jano/.cache/yay/openfoam/src/OpenFOAM-6/src/OpenFOAM/lnInclude -I/home/jano/.cache/yay/openfoam/src/OpenFOAM-6/src/OSspecific/POSIX/lnInclude -fPIC -c PstreamGlobals.C -o /home/jano/.cache/yay/openfoam/src/OpenFOAM-6/platforms/linux64GccDPInt32OptOPENMPI/src/Pstream/mpi/PstreamGlobals.o g++ -std=c++11 -m64 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -Wno-attributes -O3 -DNoRepository -ftemplate-depth-100 -DOMPI_SKIP_MPICXX -isystem /home/jano/.cache/yay/openfoam/src/ThirdParty-6/platforms/linux64Gcc/openmpi-2.1.1/include -IlnInclude -I. -I/home/jano/.cache/yay/openfoam/src/OpenFOAM-6/src/OpenFOAM/lnInclude -I/home/jano/.cache/yay/openfoam/src/OpenFOAM-6/src/OSspecific/POSIX/lnInclude -fPIC -shared -Xlinker --add-needed -Xlinker --no-as-needed /home/jano/.cache/yay/openfoam/src/OpenFOAM-6/platforms/linux64GccDPInt32OptOPENMPI/src/Pstream/mpi/UOPwrite.o /home/jano/.cache/yay/openfoam/src/OpenFOAM-6/platforms/linux64GccDPInt32OptOPENMPI/src/Pstream/mpi/UIPread.o /home/jano/.cache/yay/openfoam/src/OpenFOAM-6/platforms/linux64GccDPInt32OptOPENMPI/src/Pstream/mpi/UPstream.o /home/jano/.cache/yay/openfoam/src/OpenFOAM-6/platforms/linux64GccDPInt32OptOPENMPI/src/Pstream/mpi/PstreamGlobals.o -L/home/jano/.cache/yay/openfoam/src/OpenFOAM-6/platforms/linux64GccDPInt32OptOPENMPI/lib \ -L/home/jano/.cache/yay/openfoam/src/ThirdParty-6/platforms/linux64Gcc/openmpi-2.1.1/lib64 -L/home/jano/.cache/yay/openfoam/src/ThirdParty-6/platforms/linux64Gcc/openmpi-2.1.1/lib -lmpi -o /home/jano/.cache/yay/openfoam/src/OpenFOAM-6/platforms/linux64GccDPInt32Opt/lib/openmpi-2.1.1/libPstream.so /usr/bin/ld: cannot find -lmpi collect2: error: ld returned 1 exit status make: *** [/home/jano/.cache/yay/openfoam/src/OpenFOAM-6/wmake/makefiles/general:169: /home/jano/.cache/yay/openfoam/src/OpenFOAM-6/platforms/linux64GccDPInt32Opt/lib/openmpi-2.1.1/libPstream.so] Error 1 ==> ERROR: A failure occurred in build(). Aborting... Error making: openfoam