-
Notifications
You must be signed in to change notification settings - Fork 44
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
Pre-evaluation and discussion on branches to be merged in the master #144
Comments
The reason is that
Anyway, I agree that we should carefully checked this before doing the changes. As a side remark. It is a bad practice to have all modules in a folder, it would be better to have the modulse spread across the different folders, each one associated with the connected |
The module library is present in Yambo from the very beginning (more than 20 years) and never gave a problem. Moreover also in my machines there exists a memory.h. Actually there are many. The problem is not in the existence of the file but in the path given at the linking trough -I. So unless there are general arguments I would prefer to avoid these kind of global renaming. |
Ciao
The problem is not in the existence of the file but in the path given at
the linking trough -I.
Yes, but having different names makes the code less prone to linking errors.
ciao
Claudio
…--
==========================================================
Mobile[FR]: +33662922897
Mobile[IT]: +393384315437
Fax: +33491418916
Address: CINaM
Campus de Luminy
163 Avenue de Luminy, Case 913
13288 Marseille Cedex 9
Skype: claudioattaccalite
Editor Fellow for: www.scipost.org
web site: www.attaccalite.com
===========================================================
|
I think the need to modify Modules -> YModules (as well memory.h in y_memory.h) came from compilation issues found on LUMI using the cray compiler and OpenMP-GPU. I think at the time we resorted to this as the only way to workaround the problem.
|
If you prefer to stick with the previous file names, here are some alternatives :
Each approach has its advantages and disadvantages. |
Thanks Murali. Options such as Since we are touching this part.
which forces its placement in the source. I'd rather remove them Doing so the header can go in his correct place (e.g. as header of the subroutine), and (eventually) does not need to be repeated in the same file
Not a fan of the |
I personally like Murali's proposal.
Same lines that are touched by changing memory.h into y_memory.h |
Instead of changing the code it would be enough to append Y to all libraries at the linking time as it is done with the Ydriver libraries that depend on the executable. |
As decided previously, only robot-green branches can enter the release. Note that tech-master is not robot green https://media.yambo-code.eu/robots/GPL/tech-master/mo.farah.2.php I am currently working on maintenance-master (synced with phys-master) |
Please notice that the configure for CUDA changed in tech-master to account for other options (e.g. OpenAcc / OpenMP-gpu). For cuda fortran: We should add a robot for OpenAcc as well ... |
It is already there after a discussion with Nicola 2 weeks ago. Check I am not an expert of CUDA so, please CUDA experts, fix the errors (there are many) |
MODIFIED * config/mk/global/actions/compile_interfaces.mk config/mk/global/actions/compile_yambo.mk config/mk/global/actions/compile_ypp.mk config/mk/global/functions/mk_exe.mk configure include/version/version.m4 sbin/compilation/helper.sh sbin/compilation/stamp_remove.sh sbin/compilation/verbosity.sh Additions: - Now yambo and ypp append to the libraries a _YPP_/_Y_. This solves the problem reported in #144 Patch sent by: Andrea Marini <[email protected]>
A part of Issue #146 the compilation with libraries tagged using No need to rename folders and the changes are just few and very localized. So I propose to revert the renaming of I will try @muralidhar-nalabothula suggestion also in the same branch. |
tech-master and tech-maintenance will be merged in the new release in less then a montb.
I opened this issue to start discussing and addressing the specific aspects (non general comments here) of the branches to be merged.
I start with two questions:
I will post here more questions as soon as I analyze the source.
The text was updated successfully, but these errors were encountered: