Skip to content
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

Compling problems with new version of petsc #7

Closed
GuardZ opened this issue Jul 25, 2019 · 4 comments
Closed

Compling problems with new version of petsc #7

GuardZ opened this issue Jul 25, 2019 · 4 comments

Comments

@GuardZ
Copy link

GuardZ commented Jul 25, 2019

Type of issue

What types of issue is it?

  • Other (code version incompatible)

Description

Incompatibilities with the latest version of petsc.

Steps to reproduce issue

  1. Use the latest version of petsc, 3.11.3, and compiling it with the select option:
    ./configure
    --with-shared-libraries
    --with-fortran-interfaces=1
    --with-scalar-type=real
    --PETSC_ARCH=real-gfortran-opt-3.11.3
    --with-debugging=no
    --with-cc=gcc
    --with-cxx=g++
    --with-fc=gfortran
    --with-cxx-dialect=C++11
    --prefix=/home/guardmdo/apps/petsc-real-opt-3113
    --download-fblaslapack=yes
    --download-metis=yes
    --download-parmetis=yes
    --download-superlu_dist=yes
    --download-openmpi=yes
    --download-mpi4py=yes
    --download-petsc4py=yes

  2. Compiling the pyhyp with the following commands:
    make

  3. Compiling failed

Current behavior

The failed infomation :

mpif90 -I../../mod -I/home/guardmdo/apps/cgnslib-3.2.1/include   -fPIC -fPIC -fdefault-real-8 -O2 -I/home/guardmdo/apps/petsc-real-opt-3113/include -I/home/guardmdo/apps/petsc-real-opt-3113 -c hypData.F90 -o ../../obj/hypData.o
hypData.F90:8:2:

 #else
  1~~~~                        
**Fatal Error: petsc/finclude/petscvec.h90: No such file or directory**
compilation terminated.

Expected behavior

I try to search the petsc updating history in the
https://github.com/petsc/petsc.git
and find that:
In recent two years, the released versions of petsc seem to remove *.h90 files to other places and delete some *.h90 files, and these files are no longer in the path "petsc/finclude/"

So, brothers, do your have plans to update the code to fit the new version of petsc? like the latest version petsc-3.11.3?

Code version (if relevant)

Python version: 2.7.15+

External dependencies: GCC 7.3.0

Internal packages: PETSc 3.11.3

@johnjasa
Copy link
Member

Thanks for this detailed report!

@nwu63, when you get a sec, do you have any leads on this?

@ewu63
Copy link
Collaborator

ewu63 commented Jul 25, 2019

We're aware and are working through the backlog of dependencies to update them. It'll get done at some point but no promises on when -- pyhyp is definitely lower on the priorities list. For now the code is only verified against 3.7.

@GuardZ
Copy link
Author

GuardZ commented Jul 27, 2019

Something I find today,hope it will be helpful in your future work:
Begin from the released version 3.8.4 at 2018.03.25, it remove *.h90 files to other places.

@eirikurj
Copy link
Contributor

Closing, resolved in #12

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants