User Tools

Site Tools


admin:compilaciones:openfoam11

This is an old revision of the document!


Compilar OpenFOAM 11

ml git
mkdir OpenFOAM
cd OpenFOAM
git clone https://github.com/OpenFOAM/OpenFOAM-11.git
git clone https://github.com/OpenFOAM/ThirdParty-11.git

cd OpenFOAM-11
ml purge && ml gnu12/12.3.0 openmpi4/4.1.6 metis/5.1.0
source etc/bashrc
export CPATH=/opt/ohpc/pub/libs/gnu12/metis/5.1.0/include:$CPATH
./Allwmake -j 64

Nota: No use march=native en los archivos: wmake/rules/linux64Gcc/c++Opt wmake/rules/linux64Gcc/cOpt

Ya que fallaba la compilación con los siguientes mensajes:

/tmp/ccWGkZz5.s: Mensajes del ensamblador: /tmp/ccWGkZz5.s:51336: Error: no hay tal instrucción: `vmovw %xmm2,189(%r13)' /tmp/ccWGkZz5.s:52564: Error: no hay tal instrucción: `vmovw %xmm1,189(%rdi)' /tmp/ccWGkZz5.s:53759: Error: no hay tal instrucción: `vmovw %xmm3,189(%rdi)' /tmp/ccWGkZz5.s:60483: Error: no hay tal instrucción: `vmovw %xmm3,125(%r14)' /tmp/ccWGkZz5.s:62127: Error: no hay tal instrucción: `vmovw %xmm2,125(%rsi)' /tmp/ccWGkZz5.s:63793: Error: no hay tal instrucción: `vmovw %xmm3,125(%r15)'

admin/compilaciones/openfoam11.1754920553.txt.gz · Last modified: by flezcano