Statistiques
| Branche: | Tag: | Révision :

dockonsurf / modules / calculation.py @ dadc6016

Historique | Voir | Annoter | Télécharger (4,76 ko)

# Date Auteur Commentaire
3f330154 09/06/2020 16:21 Carles Marti

Correct indentation for all submitted jobs

af3e2441 08/06/2020 18:07 Carles Marti

Changed the import statement of internal libraries. Added logging to utilities.py

69d17e8b 07/06/2020 21:02 Carles Marti

Moved check_bak from calculation.py to utilities.py and try_command from dos_input.py to utilities.py

f8c4eafe 07/06/2020 20:46 Carles Marti

Implemented function to read energies of a set of finished calculations. Implemented auxiliary function equivalent to bash tail. Reformat blank spaces and add TODO lines

0db30d07 07/06/2020 16:40 Carles Marti

Added 'local' and 'none' as possible batch queuing systems, to run calculations on the local computer and to not carry out the calculation at all (for debugging purposes).

12001182 05/06/2020 12:08 Carles Marti

Reorganized job submission, every batch_q_sys submitting function is directly called from run_calc. Updated requirements.txt

2dfa562f 04/06/2020 17:02 Carles Marti

check_bak function checks if the target file_name is a directory or a file instead of checking if the name is present on the cwd. prep_cp2k works with the filename instead of the whole absolute filepath. Changed the warning message accordingly

a5f73b4c 04/06/2020 10:21 Carles Marti

Unified all run_types inside the same function

bd573212 04/06/2020 10:11 Carles Marti

Added fallback value for project_name in dos_input.py. Included log messages for submitted jobs on calculation.py, added TODO tasks and changed documentation on all three files.

93dcefe7 23/05/2020 20:42 Carles Marti

Fix: the number of the submitted jobs now matches the number of conforemer id.

426c4e60 23/05/2020 20:08 Carles Marti

Wait for all jobs to finish.

670284be 23/05/2020 20:04 Carles Marti

Changed get_queued_jobs_sge to get_jobs_status_sge which now returns a list of job status instead of a list that were in qw status.

277d1b39 23/05/2020 19:18 Carles Marti

Added init_dir variable

b05058e1 23/05/2020 18:54 Carles Marti

Check if 'COORD_FILE_NAME' is defined in CP2K input file, and if not set to a default value. Fixed forgotten change of directory back to the initial directory.

c3cb279a 23/05/2020 18:32 Carles Marti

The former create_bak_calc_dir function, now called check_bak, has generalized its behavior by checking if a file or directory exists and if so backs it up to a .bakX where X is a number such that bakX does not already exist.

7fd58762 19/05/2020 23:54 Carles Marti

Included 'project_name' on global mandatory options, corrected missing parentheses on str.capitalize method.

99afde40 19/05/2020 23:02 Carles Marti

Added the submission of jobs to the SGE batch queuing system

f3004731 18/05/2020 21:42 Carles Marti

Moved confs_to_mol_list function from isolated.py to formats.py module and generalised the calculations functions to be able to work with no matter which kind of calculation

fee6b1f6 11/05/2020 23:27 Carles Marti

Corrected argument of prep_iso and improved code documentation

3d6a9d3c 11/05/2020 23:14 Carles Marti

Created calculation.py module and moved prep_run from isolated.py to it