ADIOS recompiles although already compiled
Summary
ADIOS recompiles although already compiled
Steps to reproduce
Follow the installation procedure of v2006. The problem is in the file https://sourceforge.net/projects/openfoam/files/v2006/ThirdParty-v2006.tgz. Running ./Allwmake several times, it is not noted that ADIOS is already compiled, so it compiles again. The problem is that the check if it is installed looks for a lib64 directory, while the compilation of ADIOS creates a lib directory. It can be fixed by:
pushd $ADIOS2_ARCH_PATH; ln -s lib lib64; popd
However, it would be better if the test is modified to do it correctly, or if the ADIOS compilation produces a lib64 directory directly.
Example case
See above
What is the current bug behaviour?
ADIOS recompiles although already compiled
What is the expected correct behavior?
ADIOS should not be compiled if it is already compiled.
Relevant logs and/or images
The Allwmake command gives output that ADIOS is recompiled.
Environment information
- OpenFOAM version : v2006
- Operating system : Ubuntu 20.04
- Hardware info : N/A
- Compiler : N/A
Possible fixes
makeAdios2, line 30:
if [ -d "dir/include" -a -r "
dir/libWM_COMPILER_LIB_ARCH/libadios2
EXT_SO" ]
The $WM_COMPILER_LIB_ARCH needs to be removed, or the problem needs to be fixed some other way.