Skip to content

running ./Allwmake of external-solver inside openfoam v1912

Hi all i have build Petsc and have set the path as shown below

export PETSC_DIR=/home/urban/projects/petsc
export PETSC_ARCH=arch-linux-c-debug
export LD_LIBRARY_PATH=$PETSC_DIR/$PETSC_ARCH/lib:$LD_LIBRARY_PATH
export PATH=$PETSC_DIR/$PETSC_ARCH/bin:$PATH
export PETSC_ARCH_PATH=$PETSC_DIR/$PETSC_ARCH
export INCLUDE=$PETSC_DIR/$PETSC_ARCH/include:$INCLUDE

then i source Openfoam-v1912/etc/bashrc then i go to Openfoam-v1912/modules/external-solver/ and i do ./Allwmake

and i got the result as shown below

[urban@login02 external-solver]$ ./Allwmake
========================================
2022-12-12 17:45:15 +0530
Starting compile of external-solver with OpenFOAM-v1912_try
  Gcc system compiler
  linux64GccDPInt32Opt, with SYSTEMOPENMPI openmpi-system
  prefix = default (user)

==> skip petsc (no header)

2022-12-12 17:45:15 +0530
========================================
  Finished compile of external-solver with OpenFOAM-v1912_try
  Gcc system compiler
  linux64GccDPInt32Opt, with SYSTEMOPENMPI openmpi-system

now openfoam fail to find the command petscFoam

can someone kindly tell me whether my petsc4Foam is installed or not

Thanks

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information