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

There is no specific subroutine for the generic ‘mem_dri’ #5

Closed
klust opened this issue Mar 22, 2018 · 3 comments
Closed

There is no specific subroutine for the generic ‘mem_dri’ #5

klust opened this issue Mar 22, 2018 · 3 comments

Comments

@klust
Copy link

klust commented Mar 22, 2018

YAMBO_ALLOC(atom_type_,(nat_))
YAMBO_ALLOC(species_type_,(nat_))

My Fortran compiler (i used two different versions from gfortran, 4.8.5 and 6.4.0) complains that it can't compile the code that results from the expansion of these macros as it cannot fine a specific subroutine for the generic 'mem_dri' routine (which should be defined in src/modules/mod_memory.F). I am not a Fortran expert - I was only trying to install this code for one of the users of the cluster I manage - but the compiler does seem to be right in this case.

@sangallidavide
Copy link
Member

Dear klust,
nice to hear that you are working with yambo. We have successfully compiled yambo with a number of compilers, including gfortran and in different architectures. Not sure of what is not working in your case.
Does it help if you do make clean_all and then redo both configure and make ?

In case it does not work, we prefer to use the official yambo forum for user support
http://www.yambo-code.org/forum/
Can you open a thread there under the compilation section ?
In doing so please past also a copy of the error message and the config/report and config.log files generate after running the configure. I close this issue.

Best,
D.

@sangallidavide
Copy link
Member

UPDATE: I realized now that you are probably using --with-p2y-version="export"

This is an old configuration we are not using any more and it is indeed broken. It should have been removed. Can you just configure yambo without using --with-p2y-version
It will chose the default "QE qexml"

Best,
D.

@klust
Copy link
Author

klust commented Mar 23, 2018

It was indeed caused by --with-p2y-version.

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