chetzer-ncpa / ncpaprop-release

Release version of ncpaprop, a command-line package for modeling the propagation of low-frequency acoustic waves in the atmosphere.
Other
14 stars 2 forks source link

configuring with "--with-localpetsc" flag not working, old version of slepc in config. #40

Closed FunkyCosmonaut closed 2 weeks ago

FunkyCosmonaut commented 3 weeks ago
/home/cmunoz9/ncpaprop-release/extern/slepc/slepc-3.20.0/lib/slepc/conf/slepc_rules.utils:11: /home/cmunoz9/ncpaprop-release/extern/petsc/lib/petsc/conf/rules.utils: No such file or directory
gmake[1]: *** No rule to make target '/home/cmunoz9/ncpaprop-release/extern/petsc/lib/petsc/conf/rules.utils'.  Stop.
make: *** [GNUmakefile:4: all] Error 2
configure: error: Error running make command for real SLEPc: make PETSC_DIR=/home/cmunoz9/ncpaprop-release/extern/petsc SLEPC_DIR=/home/cmunoz9/ncpaprop-release/extern/slepc/slepc-3.20.0 PETSC_ARCH=arch-linux-c-real

I forked and was able to fix it by changing this line in configuration

 2984 default_slepc_version="3.20.0"

to

2984 default_slepc_version="3.21.1"

Replication of issue:

git clone https://github.com/chetzer-ncpa/ncpaprop-release.git
cd ncpaprop-release/
./configure --with-localpetsc
chetzer-ncpa commented 3 weeks ago

Updated. Please verify. Note in future, env variable local_slepc_version may be set to override default.

FunkyCosmonaut commented 2 weeks ago

Verified, thank you!