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

Allocation problems with gfortran 9.2 #22

Open
mbarbry opened this issue Dec 10, 2019 · 0 comments
Open

Allocation problems with gfortran 9.2 #22

mbarbry opened this issue Dec 10, 2019 · 0 comments

Comments

@mbarbry
Copy link
Collaborator

mbarbry commented Dec 10, 2019

Compiling the code with gfortran 9.2 gives allocation or deallocation problems

python test_0003_na2_nao.py 
Job completed
/home/marc-pc/anaconda3/lib/python3.7/site-packages/numpy/matrixlib/defmatrix.py:71: PendingDeprecationWarning: the matrix subclass is not the recommended way to represent matrices or deal with linear algebra (see https://docs.scipy.org/doc/numpy/user/numpy-for-matlab-users.html). Please adjust your code to use regular ndarray.
  return matrix(data, dtype=dtype, copy=False)
/home/marc-pc/anaconda3/lib/python3.7/site-packages/numba/typed/typeddict.py:4: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
  from collections import MutableMapping
At line 119 of file /media/marc-pc/HDD1/programs/pyscf/pyscf/lib/nao/m_init_bpair_functs_vrtx.F90
Fortran runtime error: Attempting to allocate already allocated variable 'vmm'
At line 119 of file /media/marc-pc/HDD1/programs/pyscf/pyscf/lib/nao/m_init_bpair_functs_vrtx.F90At line 119 of file /media/marc-pc/HDD1/programs/pyscf/pyscf/lib/nao/m_init_bpair_functs_vrtx.F90At line 119 of file /media/marc-pc/HDD1/programs/pyscf/pyscf/lib/nao/m_init_bpair_functs_vrtx.F90
Fortran runtime error: Attempting to allocate already allocated variable 'vmm'
Fortran runtime error: 
Attempting to allocate already allocated variable 'vmm'

Fortran runtime error: Attempting to allocate already allocated variable 'vmm'
At line 119 of file /media/marc-pc/HDD1/programs/pyscf/pyscf/lib/nao/m_init_bpair_functs_vrtx.F90
Fortran runtime error: Attempting to allocate already allocated variable 'vmm'
At line 119 of file /media/marc-pc/HDD1/programs/pyscf/pyscf/lib/nao/m_init_bpair_functs_vrtx.F90
Fortran runtime error: Segmentation fault (core dumped)

I suspec the issue to be related to opemmp, should be confirmed.

@mbarbry mbarbry mentioned this issue Mar 27, 2020
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

1 participant