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

Undefined symbols in module.F90 #14

Open
jarrah42 opened this issue Jun 26, 2019 · 3 comments
Open

Undefined symbols in module.F90 #14

jarrah42 opened this issue Jun 26, 2019 · 3 comments

Comments

@jarrah42
Copy link

jarrah42 commented Jun 26, 2019

I'm building from master/2.7.9. I've tried three different compilers (IBM, GNU, PGI) and all give me errors starting at line 367 in module.F90. I'm using the following configure command:

./configure --enable-pgi --enable-essl --with-essl=/sw/summit/essl/6.1.0-2/essl/6.1/ FC=mpif90 CC=mpicc

Here's an example:

PGF90-S-0198-Illegal use of startx_frc in ALLOCATE/DEALLOCATE (module.F90: 367)
PGF90-S-0198-Illegal use of startx_bcr in ALLOCATE/DEALLOCATE (module.F90: 367)
PGF90-S-0198-Illegal use of startx_f_c1 in ALLOCATE/DEALLOCATE (module.F90: 367)
PGF90-S-0198-Illegal use of startx_b_c1 in ALLOCATE/DEALLOCATE (module.F90: 367)
PGF90-S-0198-Illegal use of startx_ctrans_same in ALLOCATE/DEALLOCATE (module.F90: 367)
PGF90-S-0198-Illegal use of startx_strans_same in ALLOCATE/DEALLOCATE (module.F90: 367)
PGF90-S-0198-Illegal use of startx_ctrans_dif in ALLOCATE/DEALLOCATE (module.F90: 367)
PGF90-S-0198-Illegal use of startx_strans_dif in ALLOCATE/DEALLOCATE (module.F90: 367)
PGF90-S-0198-Illegal use of startx_b_c2_same in ALLOCATE/DEALLOCATE (module.F90: 367)
PGF90-S-0198-Illegal use of startx_f_c2_same in ALLOCATE/DEALLOCATE (module.F90: 367)
PGF90-S-0198-Illegal use of startx_b_c2_dif in ALLOCATE/DEALLOCATE (module.F90: 367)
PGF90-S-0198-Illegal use of startx_f_c2_dif in ALLOCATE/DEALLOCATE (module.F90: 367)
PGF90-S-0198-Illegal use of starty_frc in ALLOCATE/DEALLOCATE (module.F90: 367)
PGF90-S-0198-Illegal use of starty_bcr in ALLOCATE/DEALLOCATE (module.F90: 367)
PGF90-S-0198-Illegal use of starty_f_c1 in ALLOCATE/DEALLOCATE (module.F90: 367)
PGF90-S-0198-Illegal use of starty_b_c1 in ALLOCATE/DEALLOCATE (module.F90: 367)
PGF90-S-0198-Illegal use of starty_ctrans_same in ALLOCATE/DEALLOCATE (module.F90: 367)
PGF90-S-0198-Illegal use of starty_strans_same in ALLOCATE/DEALLOCATE (module.F90: 367)
F90-S-0198-Illegal use of starty_ctrans_dif in ALLOCATE/DEALLOCATE (module.F90? 367)
PGF90-S-0198-Illegal use of starty_strans_dif in ALLOCATE/DEALLOCATE (module.F90: 367)
PGF90-S-0198-Illegal use of starty_b_c2_same in ALLOCATE/DEALLOCATE (module.F90: 367)
PGF90-S-0198-Illegal use of starty_f_c2_same in ALLOCATE/DEALLOCATE (module.F90: 367)
PGF90-S-0198-Illegal use of starty_b_c2_dif in ALLOCATE/DEALLOCATE (module.F90: 367)
PGF90-S-0198-Illegal use of starty_f_c2_dif in ALLOCATE/DEALLOCATE (module.F90: 367)
PGF90-S-0038-Symbol, startx_frc, has not been explicitly declared (module.F90)

@dmitrypek
Copy link
Contributor

dmitrypek commented Jun 27, 2019

Should be fixed now. Are you building on Summit? Let me know if you have other issues.
[email protected]

@jarrah42
Copy link
Author

Yes, I'm trying to build on Summit. Will do, thanks!

@jarrah42
Copy link
Author

To get it to compile with XL and GCC, I had to replace "-lmpichf90" with "-lmpi_ibm_mpifh" in FORTRAN_LIB and change "-lesslbg -L$IBM_MAIN_DIR/xlf_r/bg/14.1/lib64" to just "-lessl" in ESSL_LIB. For PGI, I also had to add "-L/sw/summit/xl/16.1.1-3/xlf/16.1.1/lib" to FORTRAN_LIB.

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

2 participants