Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • T ThirdParty-common
  • Project information
    • Project information
    • Activity
    • Labels
    • Planning hierarchy
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 11
    • Issues 11
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Development
  • ThirdParty-common
  • Issues
  • #56

Closed
Open
Created Aug 07, 2020 by Håkan@Nilsson

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/lib$WM_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.

Assignee
Assign to
Time tracking