Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v2.11 fails to build from source #376

Closed
ccoulombe opened this issue Jan 17, 2025 · 0 comments
Closed

v2.11 fails to build from source #376

ccoulombe opened this issue Jan 17, 2025 · 0 comments

Comments

@ccoulombe
Copy link

ccoulombe commented Jan 17, 2025

Description

Building adflow 2.11.0 from source fails with

../utils/utils.F90:1739:26:

 1739 |         use su_cgns, only: Radian, Degree
      |                          1
Error: Symbol ‘radian’ referenced at (1) not found in module ‘su_cgns’

Steps to reproduce issue

module load gcc openmpi petsc/3.20.0 cgns/4.5
git clone --recursive https://github.com/mdolab/adflow.git -b v2.11.0
cd adflow/
export CGNS_HOME=$EBROOTCGNS/
cp config/defaults/config.LINUX_GFORTRAN.mk config/config.mk
make -j

Current behavior

Fails to build with

mpifort -fPIC -fdefault-real-8 -fdefault-double-8 -march=native -std=f2008 -fallow-argument-mismatch -I/home/coulombc/.local/easybuild/software/2023/x86-64-v3/MPI/gcc12/openmpi4/cgns/4.5.0//include -I. -I/cvmfs/soft.computecanada.ca/easybuild/software/2023/x86-64-v3/MPI/gcc12/openmpi4/petsc/3.20.0/include -I/cvmfs/soft.computecanada.ca/easybuild/software/2023/x86-64-v3/MPI/gcc12/openmpi4/hdf5-mpi/1.14.2/include  -O3 -ffast-math -c ../adjoint/outputForward/turbUtils_d.f90 -o turbUtils_d.o
../utils/utils.F90:1739:26:

 1739 |         use su_cgns, only: Radian, Degree
      |                          1
Error: Symbol ‘radian’ referenced at (1) not found in module ‘su_cgns’

Expected behavior

Build successfully

Code versions

  • Operating System: Linux
  • Python: -
  • OpenMPI: 4.1.5
  • CGNS: 4.2.0, 4.3.0, 4.4.0 or 4.5.0
  • PETSc: 3.20.0
  • Compiler: GCC 12.3
  • This repository: adflow
@mdolab mdolab locked and limited conversation to collaborators Jan 22, 2025
@anilyil anilyil converted this issue into discussion #377 Jan 22, 2025

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant