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 yambo without precompiler flags for projects #157

Draft
wants to merge 50 commits into
base: maintenance-projects_removal
Choose a base branch
from

Conversation

sangallidavide
Copy link
Member

@sangallidavide sangallidavide commented Nov 29, 2024

Reorganization of sources in order to remove "project related pre-compiler" flags

Now make yambo_ph works without needing recompiling the source.
Still this needs to be extended to ypp_ph, and all other projects ...

2 preliminary actions
a) modules folder removed.
b) renamced "driver" --> "ymain"
(this to avoid confusion between "driver" and "src/driver")

I avoided taking specific decisions and duplicated some sources for now:
a) src/driver
b) src/interface
c) src/qp
d) ymain

Below the output of "make yambo_ph", done after "make yambo"
Setup is done, but it is not needed.

$ make yambo_ph
    [lib/qe_pseudo] qe_pseudo (setup)
    [lib/slatec] slatec (setup)
    [lib/math77] math77 (setup)
    [lib/local] local (setup)
    [src/driver_ph] driver_ph (setup)
    [src/el-ph] el-ph (setup)
    [src/interface_ph] interface_ph (setup)
    [src/qp_ph] qp_ph (setup)
    [src/driver_ph] launcher_ph
    [src/driver_ph] options_maker_ph
    [src/driver_ph] options_ypp_ph
    [src/driver_ph] lib_Y_driver_ph.a (lib)
    [src/el-ph] mod_ELPH
    [src/el-ph] FREQUENCIES_Green_Function_spectral
    [src/el-ph] mod_ELPH_intfcs
    [src/el-ph] variables_ELPH
    [src/el-ph] io_ELPH
    [src/el-ph] io_gFsq
    [src/el-ph] io_QP_and_GF_ph
    [src/el-ph] SET_defaults_ph
    [src/el-ph] ELPH_alloc
    [src/el-ph] ELPH_Sigma_c
    [src/el-ph] ELPH_Hamiltonian
    [src/el-ph] ELPH_simmetrize_and_distribute_gsqF
    [src/el-ph] Eval_Efermi_DbGd
    [src/el-ph] ELPH_gsqF_to_Sigma
    [src/el-ph] ELPH_Sigma_c_engine
    [src/el-ph] En_k_plus_q_interpolate
    [src/el-ph] get_ph_E_DbGd
    [src/el-ph] ELPH_databases_load
    [src/el-ph] ELPH_databases_check
    [src/el-ph] ELPH_databases_grids_map
    [src/el-ph] ELPH_databases_symmetrize
    [src/el-ph] ELPH_acoustic_phonon_properties
    [src/el-ph] lib_Y_el-ph.a (lib)
    [src/interface_ph] INIT_load_ph
    [src/interface_ph] INIT_ph
    [src/interface_ph] INIT_read_command_line_ph
    [src/interface_ph] INIT_check_databases_ph
    [src/interface_ph] INIT_activate_ph
    [src/interface_ph] INIT_q_points_ph
    [src/interface_ph] INIT_barriers_ph
    [src/interface_ph] lib_Y_interface_ph.a (lib)
    [src/qp_ph] QP_driver_ph
    [src/qp_ph] QP_newton_ph
    [src/qp_ph] QP_logicals_ph
    [src/qp_ph] QP_descriptions_ph
    [src/qp_ph] QP_report_and_write_ph
    [src/qp_ph] lib_Y_qp_ph.a (lib)
    [ymain_ph] yambo_ph (setup)
    [ymain_ph] yambo_ph (link)

sangallidavide and others added 24 commits June 27, 2024 12:42
MODIFIED *  configure include/version/version.m4

Changes:
- [yambo]: configure re-generated after merge

Patch sent by:  Davide Sangalli <[email protected]>
MODIFIED *  configure include/version/version.m4

Changes:
- configure re-generated

Patch sent by:  Davide Sangalli <[email protected]>
MODIFIED *  lib/qe_pseudo/DOUBLE_project.dep lib/slatec/DOUBLE_project.dep allocations/DIPOLE_ALLOC_elemental.F

Bugs:
 -Fixed missing allocation in dipoles

Additions:
-

Changes:
-

Patch sent by:  Claudio Attaccalite <[email protected]>
Conflicts:
	src/allocations/DIPOLE_ALLOC_elemental.F
MODIFIED *  config/mk/global/libraries.mk include/version/version.m4 allocations/.objects bse/.objects common/.objects communicate/.objects interface/.objects interpolate/.objects io/.objects linear_algebra/.objects matrices/.objects memory/.objects output/.objects parallel/.objects parallel/PARALLEL_MATRIX_distribute.F parallel/PARALLEL_global_Oscillators.F parser/.objects qp_control/.objects setup/.objects

DELETED *  modules/DOUBLE_project.dep modules/ELPH_ITERATIVE_project.dep modules/ELPH_project.dep modules/NL_project.dep modules/QED_project.dep modules/RT_project.dep modules/SC_project.dep modules/YPP_ELPH_project.dep modules/YPP_RT_project.dep

RENAMED *  modules/mod_ALLOC.F -> allocations/mod_ALLOC.F modules/mod_PHOTOLUM.F -> allocations/mod_PHOTOLUM.F modules/mod_vec_operate.F -> allocations/mod_vec_operate.F modules/mod_DICHROISM.F -> bse/mod_DICHROISM.F modules/mod_MAGNONS.F -> bse/mod_MAGNONS.F modules/mod_COLL_interfaces.F -> collisions/mod_COLL_interfaces.F modules/mod_collision_ext.F -> collisions/mod_collision_ext.F modules/mod_plasma.F -> collisions/mod_plasma.F modules/mod_zeros.F -> common/mod_zeros.F modules/mod_logo.F -> communicate/mod_logo.F modules/mod_cutoff_ws.F -> coulomb/mod_cutoff_ws.F modules/mod_Overlaps.F -> dipoles/mod_Overlaps.F modules/mod_ELPH.F -> el-ph/mod_ELPH.F modules/mod_H_interfaces.F -> hamiltonian/mod_H_interfaces.F modules/mod_electric.F -> hamiltonian/mod_electric.F modules/mod_fields.F -> hamiltonian/mod_fields.F modules/mod_hamiltonian.F -> hamiltonian/mod_hamiltonian.F modules/mod_ACFDT.F -> interface/mod_ACFDT.F modules/mod_QP_CTL.F -> interface/mod_QP_CTL.F modules/mod_interpolate.F -> interpolate/mod_interpolate.F modules/mod_interpolate_tools.F -> interpolate/mod_interpolate_tools.F modules/mod_MPA.F -> io/mod_MPA.F modules/mod_atom_proj.F -> io/mod_atom_proj.F modules/mod_pseudo.F -> io/mod_pseudo.F modules/mod_linear_algebra.F -> linear_algebra/mod_linear_algebra.F modules/mod_wrapper.F -> linear_algebra/mod_wrapper.F modules/mod_wrapper_omp.F -> linear_algebra/mod_wrapper_omp.F modules/mod_BS.F -> matrices/mod_BS.F modules/mod_BS_solvers.F -> matrices/mod_BS_solvers.F modules/mod_DIPOLES.F -> matrices/mod_DIPOLES.F modules/mod_D_lattice.F -> matrices/mod_D_lattice.F modules/mod_QP.F -> matrices/mod_QP.F modules/mod_SLK.F -> matrices/mod_SLK.F modules/mod_TDDFT.F -> matrices/mod_TDDFT.F modules/mod_X.F -> matrices/mod_X.F modules/mod_collision_el.F -> matrices/mod_collision_el.F modules/mod_frequency.F -> matrices/mod_frequency.F modules/mod_functions.F -> matrices/mod_functions.F modules/mod_interfaces.F -> matrices/mod_interfaces.F modules/mod_matrix.F -> matrices/mod_matrix.F modules/mod_matrix_operate.F -> matrices/mod_matrix_operate.F modules/mod_parallel_interface.F -> matrices/mod_parallel_interface.F modules/mod_timing.F -> matrices/mod_timing.F modules/mod_FFT.F -> memory/mod_FFT.F modules/mod_LIVE_t.F -> memory/mod_LIVE_t.F modules/mod_cudafor.F -> memory/mod_cudafor.F modules/mod_cufft.F -> memory/mod_cufft.F modules/mod_cusolverdn_y.F -> memory/mod_cusolverdn_y.F modules/mod_gpu.F -> memory/mod_gpu.F modules/mod_hip.F -> memory/mod_hip.F modules/mod_hipfft.F -> memory/mod_hipfft.F modules/mod_mklfft_gpu.F -> memory/mod_mklfft_gpu.F modules/mod_wave_func.F -> memory/mod_wave_func.F modules/mod_NL_interfaces.F -> nloptics/mod_NL_interfaces.F modules/mod_nl_optics.F -> nloptics/mod_nl_optics.F modules/mod_global_XC.F -> output/mod_global_XC.F modules/mod_xc_functionals.F -> output/mod_xc_functionals.F modules/mod_IO.F -> parallel/mod_IO.F modules/mod_IO_interfaces.F -> parallel/mod_IO_interfaces.F modules/mod_OUTPUT.F -> parser/mod_OUTPUT.F modules/mod_R_lattice.F -> parser/mod_R_lattice.F modules/mod_com.F -> parser/mod_com.F modules/mod_com_interfcs.F -> parser/mod_com_interfcs.F modules/mod_descriptors.F -> parser/mod_descriptors.F modules/mod_drivers.F -> parser/mod_drivers.F modules/mod_electrons.F -> parser/mod_electrons.F modules/mod_lexical_sort.F -> parser/mod_lexical_sort.F modules/mod_memory.F -> parser/mod_memory.F modules/mod_openmp.F -> parser/mod_openmp.F modules/mod_parallel.F -> parser/mod_parallel.F modules/mod_pars.F -> parser/mod_pars.F modules/mod_stderr.F -> parser/mod_stderr.F modules/mod_units.F -> parser/mod_units.F modules/mod_POL_FIT.F -> qp_control/mod_POL_FIT.F modules/mod_RT_control.F -> real_time_control/mod_RT_control.F modules/mod_RT_occupations.F -> real_time_control/mod_RT_occupations.F modules/mod_RT_operations.F -> real_time_control/mod_RT_operations.F modules/mod_RT_output.F -> real_time_control/mod_RT_output.F modules/mod_RT_iterative.F -> real_time_drivers/mod_RT_iterative.F modules/mod_RT_lifetimes.F -> real_time_drivers/mod_RT_lifetimes.F modules/mod_real_time.F -> real_time_drivers/mod_real_time.F modules/mod_SC.F -> sc/mod_SC.F modules/mod_magnetic.F -> sc/mod_magnetic.F modules/SET_defaults.F -> setup/SET_defaults.F modules/SET_logicals.F -> setup/SET_logicals.F modules/mod_debug.F -> setup/mod_debug.F

Changes:

- Modules folder deleted.
- Modules moved into differnt folders

Patch sent by:  Davide Sangalli <[email protected]>
MODIFIED *  include/version/version.m4 allocations/.objects common/FREQUENCIES_Green_Function.F el-ph/.objects el-ph/ELPH_Sigma_c.F el-ph/ELPH_gsqF_to_Sigma.F interface/INIT_check_databases.F io/.objects io/io_Double_Grid.F io/io_QP_and_GF.F parallel/PARALLEL_global_Self_Energy.F parallel/PARALLEL_global_dimensions.F parallel/PARALLEL_global_indexes.F qp/QP_Green_Function.F qp/QP_mpa.F qp/QP_ppa_cohsex.F qp/QP_real_axis.F setup/setup.F ypp/el-ph/ELPH_double_grid.F ypp/el-ph/ELPH_eliashberg_dos.F ypp/k-points/k_map_fine_to_coarse_driver.F

NEW *  el-ph/FREQUENCIES_Green_Function_spectral.F el-ph/PARALLEL_global_dimensions_elph.F el-ph/QP_driver_ELPH.F el-ph/QP_report_and_write_ELPH.F el-ph/SET_defaults_ELPH.F el-ph/io_QP_and_GF_ELPH.F el-ph/mod_ELPH_intfcs.F

RENAMED *  allocations/ELPH_alloc.F -> el-ph/ELPH_alloc.F io/io_ELPH.F -> el-ph/io_ELPH.F io/io_PH.F -> el-ph/io_PH.F io/io_gFsq.F -> el-ph/io_gFsq.F io/variables_ELPH.F -> el-ph/variables_ELPH.F

Bugs:
-

Additions:
-

Changes:
- Working on removing defined _ELPH flags

Patch sent by:  Davide Sangalli <[email protected]>
MODIFIED *  configure include/version/version.m4

Bugs:
-

Additions:
 -Configure updated

Changes:
-

Patch sent by:  Claudio Attaccalite <[email protected]>
MODIFIED *  config/configure.ac config/mk/global/actions/compile_yambo.mk config/mk/global/libraries.mk configure include/version/version.m4 lib/qe_pseudo/DOUBLE_project.dep lib/slatec/DOUBLE_project.dep allocations/DOUBLE_project.dep allocations/mod_ALLOC.F bse/DOUBLE_project.dep bse/K_inversion_Lo.F bz_ops/bz_samp_indexes.F collisions/DOUBLE_project.dep collisions/QED_project.dep collisions/RT_project.dep collisions/SC_project.dep common/DOUBLE_project.dep communicate/DOUBLE_project.dep coulomb/DOUBLE_project.dep dipoles/DOUBLE_project.dep driver/.objects driver/DOUBLE_project.dep driver/QED_project.dep driver/YPP_RT_project.dep driver/options_projects.c driver/options_yambo.c driver/options_ypp.c driver/tool_init.c el-ph/.objects el-ph/DOUBLE_project.dep el-ph/ELPH_Hamiltonian.F el-ph/ELPH_Sigma_c.F el-ph/ELPH_databases_load.F el-ph/FREQUENCIES_Green_Function_spectral.F el-ph/RT_project.dep el-ph/io_ELPH.F el-ph/variables_ELPH.F hamiltonian/DOUBLE_project.dep interface/DOUBLE_project.dep interface/INIT.F interface/INIT_activate.F interface/INIT_check_databases.F interface/INIT_load.F interface/INIT_q_points.F interface/INIT_read_command_line.F interpolate/DOUBLE_project.dep interpolate/RT_project.dep io/DOUBLE_project.dep linear_algebra/DOUBLE_project.dep matrices/DOUBLE_project.dep memory/DOUBLE_project.dep nloptics/DOUBLE_project.dep output/DOUBLE_project.dep parallel/DOUBLE_project.dep parallel/NL_project.dep parallel/RT_project.dep parallel/SC_project.dep parser/DOUBLE_project.dep pol_function/.objects pol_function/X_irredux.F qp/QP_descriptions.F qp/QP_driver.F qp/QP_logicals.F qp/QP_newton.F qp/QP_report_and_write.F qp_control/.objects qp_control/DOUBLE_project.dep qp_control/QP_load_DB.F real_time_control/DOUBLE_project.dep real_time_drivers/DOUBLE_project.dep sc/DOUBLE_project.dep setup/DOUBLE_project.dep setup/External_corrections.F setup/QP_state_table_setup.F setup/RT_project.dep setup/SC_project.dep setup/SET_defaults.F setup/YPP_RT_project.dep

NEW *  driver_ph/.objects driver_ph/DOUBLE_project.dep driver_ph/NL_project.dep driver_ph/QED_project.dep driver_ph/YPP_RT_project.dep driver_ph/a2y_project.dep driver_ph/c2y_project.dep driver_ph/launcher_ph.c driver_ph/options_maker_ph.c driver_ph/options_yambo_ph.c driver_ph/options_ypp_ph.c driver_ph/p2y_project.dep driver_ph/yambo_project.dep driver_ph/ypp_project.dep el-ph/External_corrections_ph.F el-ph/INIT_activate_ph.F el-ph/INIT_load_ph.F el-ph/INIT_ph.F el-ph/INIT_q_points_ph.F interface_ph/.objects interface_ph/INIT_activate_ph.F interface_ph/INIT_barriers_ph.F interface_ph/INIT_check_databases_ph.F interface_ph/INIT_load_ph.F interface_ph/INIT_q_points_ph.F interface_ph/INIT_read_command_line_ph.F  qp_ph/.objects qp_ph/QP_descriptions_ph.F qp_ph/QP_driver_ph.F qp_ph/QP_logicals_ph.F qp_ph/QP_newton_ph.F setup/NL_project.dep setup/QED_project.dep ymain_ph/.objects ymain_ph/DOUBLE_project.dep ymain_ph/yambo_ph.F ymain_ph/yambo_ph_driver.c

DELETED *  allocations/ELPH_project.dep bse/ELPH_project.dep bz_ops/ELPH_project.dep common/ELPH_project.dep driver/ELPH_project.dep driver/YPP_ELPH_project.dep driver/YPP_NL_project.dep driver/YPP_SC_project.dep el-ph/ELPH_project.dep el-ph/QP_driver_ELPH.F interface/ELPH_project.dep interface/MODELS_project.dep interface/PHEL_project.dep io/ELPH_ITERATIVE_project.dep io/ELPH_project.dep io/PHEL_project.dep modules/.objects parallel/ELPH_project.dep parallel/PHEL_project.dep pol_function/ELPH_project.dep pol_function/PHEL_project.dep qp/ELPH_project.dep qp/PHEL_project.dep qp_control/ELPH_project.dep real_time_control/ELPH_ITERATIVE_project.dep real_time_control/ELPH_project.dep real_time_control/PHEL_project.dep real_time_drivers/PHEL_project.dep real_time_initialize/ELPH_ITERATIVE_project.dep real_time_initialize/ELPH_project.dep real_time_initialize/PHEL_project.dep setup/ELPH_project.dep

RENAMED *  PH_interface/INIT_barriers_ph.F -> el-ph/INIT_barriers_ph.F el-ph/SET_defaults_ELPH.F -> el-ph/SET_defaults_ph.F el-ph/io_QP_and_GF_ELPH.F -> el-ph/io_QP_and_GF_ph.F PH_interface/INIT_ph.F -> interface_ph/INIT_ph.F el-ph/QP_report_and_write_ELPH.F -> qp_ph/QP_report_and_write_ph.F driver/.objects -> ymain/.objects driver/DOUBLE_project.dep -> ymain/DOUBLE_project.dep driver/ELPH_project.dep -> ymain/ELPH_project.dep driver/NL_project.dep -> ymain/NL_project.dep driver/RT_project.dep -> ymain/RT_project.dep driver/SC_project.dep -> ymain/SC_project.dep driver/YPP_ELPH_project.dep -> ymain/YPP_ELPH_project.dep driver/YPP_NL_project.dep -> ymain/YPP_NL_project.dep driver/YPP_RT_project.dep -> ymain/YPP_RT_project.dep driver/YPP_SC_project.dep -> ymain/YPP_SC_project.dep driver/yambo.F -> ymain/yambo.F driver/driver.c -> ymain/yambo_driver.c driver/ypp.F -> ymain/ypp.F driver/ypp_project.dep -> ymain/ypp_project.dep

Changes:
- [compilation] yambo_ph compiles only project files
  All other files are linked

Patch sent by:  Davide Sangalli <[email protected]>
MODIFIED *  configure include/version/version.m4

Changes:
- [yambo] Version updated to 5.3.0

Patch sent by:  Davide Sangalli <[email protected]>
MODIFIED *  config/mk/global/actions/compile_yambo.mk config/mk/global/functions/cleaning.mk config/mk/global/libraries.mk configure include/version/version.m4

NEW *  driver_nl/.objects driver_nl/launcher_nl.c driver_nl/options_maker_nl.c driver_nl/options_yambo_nl.c driver_nl/options_ypp_nl.c driver_rt/.objects driver_rt/launcher_rt.c driver_rt/options_maker_rt.c driver_rt/options_yambo_rt.c driver_rt/options_ypp_rt.c driver_sc/.objects driver_sc/launcher_sc.c driver_sc/options_maker_sc.c driver_sc/options_yambo_sc.c driver_sc/options_ypp_sc.c ymain_nl/yambo_nl.F ymain_nl/yambo_nl_driver.c ymain_rt/yambo_rt.F ymain_rt/yambo_rt_driver.c ymain_sc/yambo_sc.F ymain_sc/yambo_sc_driver.c

DELETED *  driver_ph/DOUBLE_project.dep driver_ph/NL_project.dep driver_ph/QED_project.dep driver_ph/YPP_RT_project.dep driver_ph/a2y_project.dep driver_ph/c2y_project.dep driver_ph/p2y_project.dep driver_ph/yambo_project.dep driver_ph/ypp_project.dep ymain_ph/DOUBLE_project.dep

Changes:
- preparing independent compilation also or yambo_sc, yambo_rt, yambo_nl

Patch sent by:  Davide Sangalli <[email protected]>
MODIFIED *  configure include/version/version.m4 stop_and_restart/STOP_now.F

Bugs:
- [yambo_nl] compilation fixed

Patch sent by:  Davide Sangalli <[email protected]>
MODIFIED *  configure include/version/version.m4 bse/K_diago_overlap_matrix.F collisions/Build_LSEX_collisions.F collisions/OSCLL_load.F common/eval_Gradient_gpu.F io/io_OSCLL.F linear_algebra/SERIAL_lin_system_gpu.F matrices/MATRIX_transpose.F modules/mod_gpu.F modules/mod_hip.F modules/mod_mklfft_gpu.F nloptics/NL_test_collisions.F parallel/PARALLEL_global_Oscillators.F wf_and_fft/fft_3d_hip.F

Changes:
- Fixed headers

Patch sent by:  Davide Sangalli <[email protected]>
Version 5.3.0,  Revision 23903,  Hash f2b61f7

MODIFIED *  configure include/version/version.m4 allocations/DIPOLE_ALLOC_global.F bse/K_inversion_Lo.F common/.objects dipoles/.objects dipoles/DIPOLE_IO.F dipoles/DIPOLE_driver.F dipoles/DIPOLE_g_space.F dipoles/DIPOLE_p_matrix_elements.F dipoles/DIPOLE_setup.F dipoles/DIPOLE_shifted_grids.F interface/.objects interface/INIT.F interface/INIT_activate.F interface/INIT_check_databases.F interface/INIT_load.F interface/INIT_read_command_line.F interface_ph/.objects interface_ph/INIT_check_databases_ph.F interface_ph/INIT_load_ph.F io/.objects io/io_DB1.F io_parallel/.objects io_serial/.objects matrices/mod_X.F nloptics/.objects pol_function/OPTICS_driver.F pol_function/X_Double_Grid_setup.F pol_function/X_dielectric_matrix.F real_time_drivers/RT_driver.F real_time_initialize/RT_initialize.F sc/.objects setup/External_corrections.F ymain/.objects ymain_ph/.objects

NEW *  common_sc_rt/.objects interface_rt/.objects interface_rt/INIT_activate_rt.F interface_rt/INIT_check_databases_rt.F interface_rt/INIT_load_rt.F interface_rt/INIT_read_command_line_rt.F interface_rt/INIT_rt.F io_rt/.objects real_time_control/External_corrections_rt.F ymain_nl/.objects ymain_rt/.objects ymain_sc/.objects

RENAMED *  io_parallel/COLLISIONS_dbname.F -> common_sc_rt/COLLISIONS_dbname.F interface/INIT_read_command_line_potentials.F -> common_sc_rt/INIT_read_command_line_potentials.F io_parallel/io_COLLISIONS.F -> common_sc_rt/io_COLLISIONS.F io_parallel/io_COLLISIONS_header.F -> common_sc_rt/io_COLLISIONS_header.F io_serial/io_COLLISIONS.F -> common_sc_rt/io_COLLISIONS_serial.F io/io_KB_real_space.F -> common_sc_rt/io_KB_real_space.F io/io_OSCLL.F -> common_sc_rt/io_OSCLL.F interface/INIT_DephMatrix.F -> interface_rt/INIT_DephMatrix.F interface/INIT_RT_ctl_load.F -> interface_rt/INIT_RT_ctl_load.F interface/INIT_RT_ctl_switch.F -> interface_rt/INIT_RT_ctl_switch.F io/io_RT_components.F -> io_rt/io_RT_components.F io/io_RT_components_G_lesser.F -> io_rt/io_RT_components_G_lesser.F io/io_RT_components_OBS.F -> io_rt/io_RT_components_OBS.F io/io_RT_components_Reference.F -> io_rt/io_RT_components_Reference.F io/io_RT_components_TIME_points.F -> io_rt/io_RT_components_TIME_points.F io/io_RT_components_header.F -> io_rt/io_RT_components_header.F io/variables_RT_dynamic.F -> io_rt/variables_RT_dynamic.F io/variables_RT_static.F -> io_rt/variables_RT_static.F io/io_NL.F -> nloptics/io_NL.F common/Fermi_fnc_fit.F -> real_time_control/Fermi_fnc_fit.F common/HyperbolicSecant_FT.F -> real_time_control/HyperbolicSecant_FT.F io/io_SC_components.F -> sc/io_SC_components.F io/load_SC_components.F -> sc/load_SC_components.F io/variables_SC.F -> sc/variables_SC.F ymain/yambo_driver.c -> ymain/core_driver.c ymain_nl/yambo_nl_driver.c -> ymain_nl/nl_driver.c ymain_ph/yambo_ph_driver.c -> ymain_ph/ph_driver.c ymain_rt/yambo_rt_driver.c -> ymain_rt/rt_driver.c ymain_sc/yambo_sc_driver.c -> ymain_sc/sc_driver.c

Bugs:
-

Additions:
-

Changes:
-

Patch sent by:  Davide Sangalli <[email protected]>
MODIFIED *  configure include/version/version.m4 common/OCCUPATIONS_Gaps.F el-ph/SET_defaults_ph.F setup/SET_defaults.F ymain_ph/yambo_ph.F

NEW *  common_sc_rt/SET_defualts_comm.F nloptics/SET_defaults_nl.F real_time_initialize/SET_defaults_rt.F sc/SET_defaults_sc.F

Changes:
- SET_defaults split across projects and few more if defined RT removed

Patch sent by:  Davide Sangalli <[email protected]>
@andrea-ferretti
Copy link
Member

andrea-ferretti commented Dec 2, 2024

Hi Davide,

it looks all very nice !!!
I think the disentanglement of PH looks very good to me...

A couple of questions/comments:

  • I see mod_X.F is ended up in src/matrices. Is this wanted ?
  • ymain*: are these meant to become the entry point for each related source tree ?
    Another option would be to move the content inside src/driver* (why are the two kept separated ?)
    Anyway: this is housekeeping for later, all options are fine with me.

Minor points:

  • in mod_X.F there is a missing var name at line 197 (DO_it, I guess)
  • ./common_sc_rt/SET_defualts_comm.F: defualts -> defaults

I would merge ASAP and keep working there
A

@sangallidavide sangallidavide marked this pull request as draft December 2, 2024 09:49
@sangallidavide
Copy link
Member Author

I converted this to a draft to stress that it is an ongoing work

A couple of questions/comments:

I see mod_X.F is ended up in src/matrices. Is this wanted ?

This is one of the points were decisions should be made. At present many modules are inter-dependent, and it is not possible to compile without putting them together. As a consequence I had to distribute them across the first folders which are compilerd.
parser memory matrices allocations
Some possible solutions / actions include:
a) changing the modules to make them less interdependent
For example mod_interfaces should be split into mod_BS_interfaces, mad_matrix_interfaces, etc ...
b) to keep some common-modules folder
c) to reduce the number of folders
d) to change the compilation order

ymain*: are these meant to become the entry point for each related source tree ?
Another option would be to move the content inside src/driver* (why are the two kept separated ?)
Anyway: this is housekeeping for later, all options are fine with me.

In the past there were driver and src/driver. I just rename driver --> ymain to minimize the changes. I'm also fine with just having src/driver. To check what would happen with the compilation scheme

@andreamarini
Copy link
Member

Dear all, as you know in the next 3 weeks it will be impossible for me to check and work on the code.

As the procedure of disentangling the projects will enter very very deeply in the structure of the code I do think it must be done slowly and collegiality.

So, please, let's take all time needed. Step by step.

Also because we need to understand how to propagate such deep changes plus how to design the APIs and so on.

@andreamarini
Copy link
Member

More specifically.

For the moment I would not rename/move anything.

I would split all routines/modules in common+project dependent parts.

Move the project specific somewhere else (eventually renaming).

But not change anything more.

Once this is ready we could proceed with a first merge in the personal branches.

Then we move to a new project.

Slowly. Otherwise it will be a pain

MODIFIED *  configure include/version/version.m4 bse/K_Transition_check.F bse/K_Transitions_setup.F bse/K_driver.F bse/K_driver_init.F bse/K_inversion_driver.F matrices/mod_BS.F real_time_control/mod_RT_control.F setup/PARALLEL_and_IO_Setup.F ymain/yambo.F ymain_rt/yambo_rt.F

NEW *  real_time_control/K_set_bands_ranges_rt.F

Changes:
- [yambo_rt] _RT flags removed from bse part

Patch sent by:  Davide Sangalli <[email protected]>
@sangallidavide
Copy link
Member Author

Yeah, I'm trying to reduce the changes in order to minimize the conflicts in future merges.

Please notice that
i) moving / renaming a file or folder does not give conflics. git easily handle this.
ii) splitting a module or a subroutine is instead source of conflicts because git is not able to track this

This is way I'm avoiding as much as I can splitting subroutines

MODIFIED *  configure include/version/version.m4 acfdt/acfdt_tot_energy.F bse/K_Transitions_setup.F bse/K_driver.F bse/K_inversion_Lo.F dipoles/DIPOLE_setup.F hamiltonian/Bare_Hamiltonian.F matrices/mod_X.F output/mod_xc_functionals.F pol_function/OPTICS_driver.F pol_function/X_Double_Grid_setup.F pol_function/X_dielectric_matrix.F qp/XCo_driver.F qp/XCo_local.F real_time_control/RT_energy_components.F real_time_hamiltonian/RT_Hamiltonian.F sc/SC_Energy.F xc_functionals/XC_potential_driver.F ymain/yambo.F ymain_ph/yambo_ph.F

Changes:
- Removing more defined _RT flags
- Restored compilation of yambo and yambo_ph

Patch sent by:  Davide Sangalli <[email protected]>
MODIFIED *  configure include/version/version.m4 io/io_Double_Grid.F parallel/PARALLEL_global_Self_Energy.F

Bugs:
- [yambo] Fixed two small bugs related to string dimensions

Patch sent by:  Davide Sangalli <[email protected]>
MODIFIED *  config/mk/global/libraries.mk configure include/version/version.m4 allocations/.objects common/.objects interface/.objects io/.objects matrices/.objects memory/.objects output/.objects parallel/.objects parser/.objects qp_control/.objects real_time_initialize/SET_defaults_rt.F

NEW *  modules/.objects

RENAMED *  interface/mod_ACFDT.F -> modules/mod_ACFDT.F matrices/mod_BS.F -> modules/mod_BS.F matrices/mod_BS_solvers.F -> modules/mod_BS_solvers.F matrices/mod_DIPOLES.F -> modules/mod_DIPOLES.F matrices/mod_D_lattice.F -> modules/mod_D_lattice.F memory/mod_FFT.F -> modules/mod_FFT.F parallel/mod_IO.F -> modules/mod_IO.F parallel/mod_IO_interfaces.F -> modules/mod_IO_interfaces.F memory/mod_LIVE_t.F -> modules/mod_LIVE_t.F io/mod_MPA.F -> modules/mod_MPA.F parser/mod_OUTPUT.F -> modules/mod_OUTPUT.F allocations/mod_PHOTOLUM.F -> modules/mod_PHOTOLUM.F qp_control/mod_POL_FIT.F -> modules/mod_POL_FIT.F matrices/mod_QP.F -> modules/mod_QP.F interface/mod_QP_CTL.F -> modules/mod_QP_CTL.F parser/mod_R_lattice.F -> modules/mod_R_lattice.F matrices/mod_SLK.F -> modules/mod_SLK.F matrices/mod_TDDFT.F -> modules/mod_TDDFT.F matrices/mod_X.F -> modules/mod_X.F io/mod_atom_proj.F -> modules/mod_atom_proj.F matrices/mod_collision_el.F -> modules/mod_collision_el.F parser/mod_com.F -> modules/mod_com.F parser/mod_com_interfcs.F -> modules/mod_com_interfcs.F memory/mod_cudafor.F -> modules/mod_cudafor.F memory/mod_cufft.F -> modules/mod_cufft.F memory/mod_cusolverdn_y.F -> modules/mod_cusolverdn_y.F parser/mod_descriptors.F -> modules/mod_descriptors.F parser/mod_drivers.F -> modules/mod_drivers.F parser/mod_electrons.F -> modules/mod_electrons.F matrices/mod_frequency.F -> modules/mod_frequency.F matrices/mod_functions.F -> modules/mod_functions.F output/mod_global_XC.F -> modules/mod_global_XC.F memory/mod_gpu.F -> modules/mod_gpu.F memory/mod_hip.F -> modules/mod_hip.F memory/mod_hipfft.F -> modules/mod_hipfft.F matrices/mod_interfaces.F -> modules/mod_interfaces.F parser/mod_lexical_sort.F -> modules/mod_lexical_sort.F matrices/mod_matrix.F -> modules/mod_matrix.F matrices/mod_matrix_operate.F -> modules/mod_matrix_operate.F parser/mod_memory.F -> modules/mod_memory.F memory/mod_mklfft_gpu.F -> modules/mod_mklfft_gpu.F parser/mod_openmp.F -> modules/mod_openmp.F parser/mod_parallel.F -> modules/mod_parallel.F matrices/mod_parallel_interface.F -> modules/mod_parallel_interface.F parser/mod_pars.F -> modules/mod_pars.F io/mod_pseudo.F -> modules/mod_pseudo.F parser/mod_stderr.F -> modules/mod_stderr.F matrices/mod_timing.F -> modules/mod_timing.F parser/mod_units.F -> modules/mod_units.F allocations/mod_vec_operate.F -> modules/mod_vec_operate.F memory/mod_wave_func.F -> modules/mod_wave_func.F output/mod_xc_functionals.F -> modules/mod_xc_functionals.F common/mod_zeros.F -> modules/mod_zeros.F

Changes:
- src/modules folder restored and many modules moved back in place

Patch sent by:  Davide Sangalli <[email protected]>
@sangallidavide sangallidavide changed the title yambo_ph without precompiler flags compiling yambo without precompiler flags for projects Dec 3, 2024
@sangallidavide
Copy link
Member Author

I've restored src/modules with most of the modules inside.

MODIFIED *  configure include/version/version.m4 xc_functionals/el_density_and_current.F ypp/real_time/RT_density.F

Changes:
- RT flags removed from RT_density

Patch sent by:  Davide Sangalli <[email protected]>
MODIFIED *  configure include/version/version.m4 hamiltonian/mod_hamiltonian.F interface/INIT.F interface_ph/INIT_ph.F interface_rt/INIT_rt.F io_parallel/io_DIPOLES.F io_serial/io_DIPOLES.F modules/mod_interfaces.F modules/mod_xc_functionals.F qp/QP_driver.F qp/XCo_driver.F qp_ph/QP_driver_ph.F setup/QP_state_table_setup.F stop_and_restart/STOP_now.F xc_functionals/XC_libxc_driver.F xc_functionals/XC_potential_driver.F xc_functionals/el_magnetization.F ypp/el-ph/ELPH_general_gFsq.F ypp/electrons/electrons_dos.F ypp/electrons/electrons_driver.F ypp/interface/INIT_ypp.F ypp/qp/QP_DBs_create_and_modify.F ypp/real_time/RT_density.F ypp/real_time/RT_dos_time_plot.F ypp/real_time/RT_occupations_driver.F

Changes:
- Removing more defined _RT flags

Patch sent by:  Davide Sangalli <[email protected]>
MODIFIED *  configure include/version/version.m4 el-ph/INIT_ph.F hamiltonian/mod_hamiltonian.F interface/INIT.F interface_ph/INIT_ph.F interface_rt/INIT_rt.F modules/mod_parallel_interface.F parallel/PARALLEL_WF_distribute.F qp/QP_driver.F qp/XCo_driver.F qp_ph/QP_driver_ph.F setup/QP_state_table_setup.F ypp/el-ph/ELPH_general_gFsq.F ypp/electrons/electrons_dos.F ypp/electrons/electrons_driver.F ypp/interface/INIT_ypp.F ypp/qp/QP_DBs_create_and_modify.F ypp/real_time/RT_dos_time_plot.F ypp/real_time/RT_occupations_driver.F

NEW *  common_sc_rt/PARALLEL_WF_distribute_ham.F real_time_control/PARALLEL_WF_distribute_rt.F

Changes:
- more defined _RT removed

Patch sent by:  Davide Sangalli <[email protected]>
MODIFIED *  configure include/version/version.m4 bse/K_diago_driver.F bse/K_driver_init.F bse/K_observables.F bz_ops/bz_samp_indexes.F ymain/yambo.F ymain_nl/yambo_nl.F ymain_ph/yambo_ph.F ymain_rt/yambo_rt.F ymain_sc/yambo_sc.F

Changes:
- removed some defined _NL flags

Patch sent by:  Davide Sangalli <[email protected]>
MODIFIED *  configure include/version/version.m4 collisions/COLLISIONS_eval.F collisions/COLLISIONS_load.F common/.objects interface/.objects interface_ph/INIT_activate_ph.F interpolate/INTERPOLATION_coefficients.F interpolate/INTERPOLATION_driver_seed.F interpolate/mod_interpolate.F real_time_control/RT_interpolation_doit_and_transfer.F real_time_control/mod_RT_control.F ymain/yambo.F ymain_rt/yambo_rt.F ymain_sc/yambo_sc.F ypp/real_time/RT_occ_bands_interpolation.F

NEW *  real_time_control/INTERPOLATION_driver_seed_rt.F

RENAMED *  common/LEVELS_mirror.F -> interface/LEVELS_mirror.F common/LEVELS_respect_degenerations.F -> interface/LEVELS_respect_degenerations.F

Changes:
- [yambo_rt] Removing more defined _RT flags

Patch sent by:  Davide Sangalli <[email protected]>
MODIFIED *  configure include/version/version.m4 collisions/COLLISIONS_load.F common_sc_rt/io_COLLISIONS.F interface/LEVELS_mirror.F interface/LEVELS_respect_degenerations.F interface_rt/INIT_load_rt.F interpolate/mod_interpolate_tools.F real_time_control/INTERPOLATION_driver_seed_rt.F real_time_control/mod_RT_control.F real_time_initialize/RT_occupations_and_levels_init.F ymain/yambo.F ymain_nl/yambo_nl.F

NEW *  interface_nl/LEVELS_mirror_nl.F interface_nl/LEVELS_respect_degenerations_nl.F interface_rt/LEVELS_mirror_rt.F interface_rt/LEVELS_respect_degenerations_rt.F interface_sc/LEVELS_mirror_sc.F interface_sc/LEVELS_respect_degenerations_sc.F

Changes:
- removing more defined _RT

Patch sent by:  Davide Sangalli <[email protected]>
MODIFIED *  configure include/version/version.m4 bse/.objects collisions/COLLISIONS_load.F common_sc_rt/.objects hamiltonian/Bare_Hamiltonian.F hamiltonian/Pseudo_Hamiltonian.F modules/mod_parallel_interface.F parallel/.objects parallel/PARALLEL_global_Self_Energy.F parallel/PARALLEL_global_dimensions.F parallel/PARALLEL_global_indexes.F real_time_hamiltonian/.objects real_time_hamiltonian/RT_Hamiltonian.F real_time_initialize/RT_start_and_restart.F real_time_propagation/.objects xc_functionals/.objects

NEW *  common_sc_rt/PARALLEL_global_Self_Energy_ham.F common_sc_rt/PARALLEL_global_dimensios_ham.F common_sc_rt/mod_common_sc_rt.F nloptics/PARALLEL_global_dimensios_nl.F nloptics/PARALLEL_global_indexes_nl.F real_time_control/PARALLEL_global_dimensions_rt.F real_time_control/PARALLEL_global_indexes_rt.F sc/PARALLEL_global_dimensios_sc.F

RENAMED *  parallel/PARALLEL_MATRIX_distribute.F -> common_sc_rt/PARALLEL_MATRIX_distribute.F parallel/PARALLEL_collisions.F -> common_sc_rt/PARALLEL_collisions.F parallel/PARALLEL_global_Non_Linear.F -> nloptics/PARALLEL_global_Non_Linear.F parallel/PARALLEL_global_Oscillators.F -> nloptics/PARALLEL_global_Oscillators.F parallel/PARALLEL_global_Real_Time.F -> real_time_control/PARALLEL_global_Real_Time.F xc_functionals/el_density_matrix.F -> real_time_hamiltonian/el_density_matrix.F xc_functionals/el_magnetization_matrix.F -> real_time_hamiltonian/el_magnetization_matrix.F qp/QP_load_SC_xc.F -> sc/QP_load_SC_xc.F

Changes:
- [yambo_rt] removing more _RT flags

Patch sent by:  Davide Sangalli <[email protected]>
MODIFIED *  configure include/version/version.m4 hamiltonian/Bare_Hamiltonian.F hamiltonian/Pseudo_KB_FFT.F hamiltonian/Pseudo_KB_G_to_R_space.F hamiltonian/V_real_space_to_H.F hamiltonian/WF_and_dipole_dimensions.F interface_nl/LEVELS_mirror_nl.F interface_nl/LEVELS_respect_degenerations_nl.F interface_sc/LEVELS_mirror_sc.F interface_sc/LEVELS_respect_degenerations_sc.F parallel/PARALLEL_global_reset.F real_time_initialize/RT_start_and_restart.F ymain_nl/yambo_nl.F ymain_rt/yambo_rt.F ymain_sc/yambo_sc.F

NEW *  common_sc_rt/PARALLEL_global_reset_ham.F interface_rt/WF_and_dipole_dimensions_rt.F interface_sc/WF_and_dipole_dimensions_sc.F

RENAMED *  nloptics/PARALLEL_global_Non_Linear.F -> interface_nl/PARALLEL_global_Non_Linear.F nloptics/PARALLEL_global_Oscillators.F -> interface_nl/PARALLEL_global_Oscillators.F nloptics/PARALLEL_global_dimensios_nl.F -> interface_nl/PARALLEL_global_dimensios_nl.F nloptics/PARALLEL_global_indexes_nl.F -> interface_nl/PARALLEL_global_indexes_nl.F real_time_control/PARALLEL_WF_distribute_rt.F -> interface_rt/PARALLEL_WF_distribute_rt.F real_time_control/PARALLEL_global_Real_Time.F -> interface_rt/PARALLEL_global_Real_Time.F real_time_control/PARALLEL_global_dimensions_rt.F -> interface_rt/PARALLEL_global_dimensions_rt.F real_time_control/PARALLEL_global_indexes_rt.F -> interface_rt/PARALLEL_global_indexes_rt.F sc/PARALLEL_global_dimensios_sc.F -> interface_sc/PARALLEL_global_dimensions_sc.F hamiltonian/Pseudo_KB_gauge_factor.F -> sc/Pseudo_KB_gauge_factor.F

Changes:
- removing more if defined flags

Patch sent by:  Davide Sangalli <[email protected]>
MODIFIED *  config/mk/global/actions/compile_yambo.mk config/mk/global/libraries.mk configure include/version/version.m4 collisions/.objects collisions/COLLISIONS_eval.F collisions/mod_COLL_interfaces.F common_sc_rt/.objects driver_rt/.objects hamiltonian/.objects hamiltonian/Bare_Hamiltonian.F hamiltonian/Pseudo_Hamiltonian.F hamiltonian/Pseudo_KB_G_to_R_space.F hamiltonian/Vgrad_real_space_to_H.F hamiltonian/mod_hamiltonian.F interface_rt/INIT_check_databases_rt.F interface_rt/INIT_rt.F io_rt/.objects io_serial/.objects nloptics/.objects nloptics/NL_driver.F real_time_control/.objects real_time_control/RT_alloc.F real_time_control/RT_energy_components.F real_time_control/RT_interpolation_doit_and_transfer.F real_time_control/mod_RT_control.F real_time_hamiltonian/RT_Hamiltonian.F real_time_initialize/RT_start_and_restart.F real_time_propagation/.objects sc/.objects sc/SC_driver.F sc/SC_start_and_restart.F sc/mod_SC.F ymain_rt/yambo_rt.F

NEW *  collisions_nl/.objects hamiltonian/Pseudo_KB_gauge_factor.F

DELETED *  sc/Pseudo_KB_gauge_factor.F

RENAMED *  collisions/Build_LSEX_collisions.F -> collisions_nl/Build_LSEX_collisions.F collisions/COLLISIONS_compose_nl.F -> collisions_nl/COLLISIONS_compose_nl.F collisions/COLLISIONS_compress.F -> collisions_nl/COLLISIONS_compress.F collisions/LSEX_potential.F -> collisions_nl/LSEX_potential.F collisions/OSCLL_compose_collision.F -> collisions_nl/OSCLL_compose_collision.F collisions/OSCLL_compose_nl.F -> collisions_nl/OSCLL_compose_nl.F collisions/OSCLL_compose_vbands.F -> collisions_nl/OSCLL_compose_vbands.F collisions/OSCLL_eval.F -> collisions_nl/OSCLL_eval.F collisions/OSCLL_load.F -> collisions_nl/OSCLL_load.F collisions/mod_collision_ext.F -> hamiltonian/mod_collision_ext.F sc/mod_magnetic.F -> hamiltonian/mod_magnetic.F collisions/COLLISIONS_compose_rt.F -> real_time_control/COLLISIONS_compose_rt.F real_time_drivers/mod_RT_iterative.F -> real_time_control/mod_RT_iterative.F real_time_drivers/mod_RT_lifetimes.F -> real_time_control/mod_RT_lifetimes.F real_time_drivers/mod_real_time.F -> real_time_control/mod_real_time.F collisions/COLLISIONS_compose_sc.F -> sc/COLLISIONS_compose_sc.F

Changes:
- working on compilation without flags

Patch sent by:  Davide Sangalli <[email protected]>
MODIFIED *  config/mk/global/libraries.mk configure include/version/version.m4 collisions/.objects common/.objects common_sc_rt/.objects hamiltonian/.objects hamiltonian/Bare_Hamiltonian.F interface_rt/.objects interface_rt/INIT_activate_rt.F interface_rt/INIT_check_databases_rt.F interface_rt/INIT_read_command_line_rt.F interface_rt/PARALLEL_WF_distribute_rt.F interface_rt/WF_and_dipole_dimensions_rt.F modules/mod_functions.F real_time_control/.objects real_time_control/RT_occupations_FIT.F real_time_control/mod_RT_control.F real_time_initialize/.objects real_time_initialize/RT_initialize.F real_time_initialize/RT_start_and_restart.F real_time_initialize/SET_defaults_rt.F sc/.objects sc/SC_driver.F wf_and_fft/.objects wf_and_fft/fft_singleton.f

RENAMED *  common_sc_rt/COLLISIONS_dbname.F -> collisions/COLLISIONS_dbname.F common_sc_rt/io_COLLISIONS.F -> collisions/io_COLLISIONS.F common_sc_rt/io_COLLISIONS_header.F -> collisions/io_COLLISIONS_header.F common_sc_rt/io_COLLISIONS_serial.F -> collisions/io_COLLISIONS_serial.F real_time_control/HyperbolicSecant_FT.F -> common/HyperbolicSecant_FT.F common_sc_rt/SET_defualts_comm.F -> common_sc_rt/SET_defaults_comm.F wf_and_fft/WF_derivative.F -> common_sc_rt/WF_derivative.F common_sc_rt/INIT_read_command_line_potentials.F -> interface_rt/INIT_read_command_line_potentials.F hamiltonian/MAG_A_phase.F -> sc/MAG_A_phase.F hamiltonian/MAG_Hamiltonian.F -> sc/MAG_Hamiltonian.F hamiltonian/MAG_common_build_A.F -> sc/MAG_common_build_A.F hamiltonian/MAG_initial_check.F -> sc/MAG_initial_check.F wf_and_fft/WF_rotate.F -> sc/WF_rotate.F

Changes:
- Working on splitting projcts, now also yambo_rt compiles

Patch sent by:  Davide Sangalli <[email protected]>
MODIFIED *  config/mk/global/libraries.mk configure include/version/version.m4 common_sc_rt/.objects dipoles/.objects driver_sc/.objects hamiltonian/.objects hamiltonian/Bare_Hamiltonian.F interface/INIT.F interface/INIT_activate.F interface/INIT_check_databases.F interface/INIT_load.F interface/INIT_read_command_line.F interface_ph/INIT_read_command_line_ph.F interface_rt/.objects interface_rt/INIT_rt.F interface_sc/PARALLEL_global_dimensions_sc.F nloptics/NL_driver.F real_time_drivers/RT_driver.F real_time_initialize/SET_defaults_rt.F sc/.objects sc/MAG_Hamiltonian.F sc/SC_Energy.F sc/SC_driver.F sc/SET_defaults_sc.F ymain_rt/yambo_rt.F ymain_sc/yambo_sc.F

NEW *  config/mk/global/actions/compile_yambo_new.mk interface_nl/INIT_load_nl.F interface_nl/INIT_read_command_line_nl.F interface_sc/.objects interface_sc/INIT_activate_sc.F interface_sc/INIT_check_databases_sc.F interface_sc/INIT_load_sc.F interface_sc/INIT_read_command_line_sc.F interface_sc/INIT_sc.F

RENAMED *  dipoles/Berry_polarization_EQ.F -> common_sc_rt/Berry_polarization_EQ.F interface_rt/INIT_read_command_line_potentials.F -> common_sc_rt/INIT_read_command_line_potentials.F dipoles/Ionic_polarization.F -> common_sc_rt/Ionic_polarization.F dipoles/POLARIZATION_output.F -> common_sc_rt/POLARIZATION_output.F dipoles/DIPOLE_SC_rotate.F -> sc/DIPOLE_SC_rotate.F hamiltonian/XC_additional_SC_potentials.F -> sc/XC_additional_SC_potentials.F

Changes:
- Removing project: yambo_sc compiles

Patch sent by:  Davide Sangalli <[email protected]>
MODIFIED *  configure include/version/version.m4 sc/XC_additional_SC_potentials.F

Changes:
- rmeoved more "defined _SC"

Patch sent by:  Davide Sangalli <[email protected]>
MODIFIED *  configure include/version/version.m4 common/OCCUPATIONS_Fermi.F common_sc_rt/WF_derivative.F el-ph/.objects interface/INIT.F interface/INIT_activate.F interface/INIT_check_databases.F interface_ph/INIT_check_databases_ph.F interface_rt/INIT_check_databases_rt.F interface_sc/INIT_check_databases_sc.F io/io_DB1.F modules/mod_interfaces.F sc/SC_driver.F wf_and_fft/WF_load.F ymain/ypp.F

NEW *  interface_nl/INIT_activate_nl.F interface_nl/INIT_nl.F ymain_nl/ypp_nl.F ymain_ph/ypp_ph.F ymain_rt/ypp_rt.F ymain_sc/ypp_sc.F ypp/sc/write_rotated_WFs.F

RENAMED *  ypp/symmetries/fix_SC_DBs.F -> ypp/sc/fix_SC_DBs.F

Changes:
- Saving work done so far

Patch sent by:  Davide Sangalli <[email protected]>
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

Successfully merging this pull request may close these issues.

4 participants