Scripts NIX para instalar openfoam.com
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Gervasio Daniel Pérez 6f103a0c64 Readme + bashrc customizado 2 years ago
Readme.md Readme + bashrc customizado 2 years ago
bashrc Readme + bashrc customizado 2 years ago
fix-bash.patch initial commit 2 years ago
flake.lock Cambio a OpenFOAM v2212 2 years ago
flake.nix Cambio a OpenFOAM v2212 2 years ago
openfoam.nix initial commit 2 years ago

Readme.md

Instalación OpenFOAM.com mediante NIX

  1. Checkout del repo nix en GIT CSC para openfoam, get de las fuentes.
git checkout https://git.csc.gob.ar/gperez/openfoam-nix.git
cd openfoam-nix

wget https://develop.openfoam.com/Development/openfoam/-/archive/OpenFOAM-v2212/openfoam-OpenFOAM-v2212.tar.gz
tar xzf openfoam-OpenFOAM-v2212.tar.gz -C OpenFOAM
  1. Pisar etc/bashrc con el nuestro editado
cp bashrc OpenFOAM/etc
  1. Entrar a entorno de desarrollo de nix y compilar OpenFOAM
nix develop
cd OpenFOAM
source etc/bashrc
./Allwmake -q -j -s