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

compiling BSR3 #1

Open
olahassouneh opened this issue Jun 24, 2023 · 3 comments
Open

compiling BSR3 #1

olahassouneh opened this issue Jun 24, 2023 · 3 comments

Comments

@olahassouneh
Copy link

Hi
I am trying to compile BSR3, but I got this issue:
(gfortran: error: unrecognized command-line option '-module'; did you mean '-Mmodules'?)

when I changed module by Mmodules I got this:
(Warning: command-line option '-Mmodules' is valid for C++/Modula-2 but not for Fortran
br_bsorb.f90:7:11:

7 |       Use spline_orbitals
  |           1

Fatal Error: Cannot open module file 'spline_orbitals.mod' for reading at (1): No such file or directory
compilation terminated.)

Many thanks

@olahassouneh
Copy link
Author

Hi I am trying to compile BSR3, but I got this issue: (gfortran: error: unrecognized command-line option '-module'; did you mean '-Mmodules'?)

when I changed module by Mmodules I got this: (Warning: command-line option '-Mmodules' is valid for C++/Modula-2 but not for Fortran br_bsorb.f90:7:11:

7 |       Use spline_orbitals
  |           1

Fatal Error: Cannot open module file 'spline_orbitals.mod' for reading at (1): No such file or directory compilation terminated.)

Many thanks

@gserg
Copy link

gserg commented Nov 12, 2024

Hi, @olahassouneh!
I know that this response is too late, but it might be helpful for someone else.

Unfortunately Oleg passed away a few years ago (https://www.ilesfuneralhomes.com/obituary/Oleg-Zatsarinny-PhD/West-Des-Moines-Iowa/1885732), so this repo is no longer maintained :(

I've successfully compiled BSR3 on both Linux and Windows platforms, so can give few basic recommendations based on my experience:

  • correctly set environment variables (file DEF_03) and put this file into HOME directory (or update path in makefiles)
  • use appropriate versions of external libraries (LAPACK, BLAS, etc.)
  • please note that on Linux all file names are case-sensitive, so some makefiles need to be updated

@olahassouneh
Copy link
Author

olahassouneh commented Nov 22, 2024 via email

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