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

dockonsurf / modules / calculation.py @ cf980c86

Historique | Voir | Annoter | Télécharger (15,68 ko)

# Date Auteur Commentaire
4e82c425 11/02/2021 19:45 Carles Martí

Extended the documentation

d33c8b1c 10/02/2021 16:47 Carles Martí

Updated README.md and added TODO.

19567be2 10/12/2020 19:34 Carles Martí

Corrected bug. prep_cp2k was taking the original input_file instead of the new one with the updated Project_name.

9d16604c 08/12/2020 17:07 Carles Martí

Added TODO

1d8c374e 04/12/2020 20:36 Carles Martí

Simplified the reading of coordinates and energies and the selection of conformers.

f2f23abc 04/12/2020 14:06 Carles Martí

Changed docstring and variable names in check_finished_calcs to improvea readability.

f349bb54 30/11/2020 18:09 Carles Marti

Implemented the automatic generation of POTCAR files.

ffa1b366 27/11/2020 20:15 Carles Martí

Check for finished calculations is done without assuming output files are named *.out.

556b41aa 27/11/2020 17:45 Carles Martí

Submit jobs in human order.

dbef6e98 27/11/2020 17:19 Carles Martí

Read directories in human order.

25e7e44b 26/11/2020 16:45 Carles Martí

Centering molecule in the simulation cell to avoid problems at the screening stage.

0d2f159a 24/11/2020 19:32 Carles Martí

Check that ase can read OUTCAR, else consider the calculation as unfinished.

1f1d0644 24/11/2020 18:07 Carles Martí

Removed TODO.

d566f8e6 22/11/2020 20:12 Carles Martí

Corrected error when creating creating files in configuration directories.

017c5dbc 22/11/2020 18:19 Carles Martí

Corrected error when input file names contained the mandatory file name but it was not exactly the name (eg. 'INCAR-iso').

234eefed 22/11/2020 17:41 Carles Martí

Implemented check on finished vasp calculation.

14e0b660 20/11/2020 19:50 Carles Martí

Added else clause for the scheduler/batch_quequing_system. Changed fallback values. Adjust docstrings, reformat code and other stylistic changes.

9d3b680c 20/11/2020 19:41 Carles Martí

Implemented the possibility to run calculations with VASP.

99c87fcc 08/10/2020 11:42 Carles Marti

Changed log message of Unrecognized job.

07edc24f 02/10/2020 15:38 Carles Marti

Unified the call of prep_cp2k for differ run_types

1a158b9f 02/10/2020 15:33 Carles Marti

Change project_name value in cp2k input to be the project_name value in dockonsurf input plus the run_type.

f601942f 29/09/2020 13:05 Carles Marti

Changed warning message

118974d5 28/09/2020 17:45 Carles Marti

Implemented actual commands for LSF scheduler

ca309a2c 17/09/2020 16:37 Carles Marti

Removed Capitalization on job name as it led to misunderstandings

b6b1b03e 11/09/2020 09:21 Carles Marti

Implemented new way to specify maximum jobs on running/pending status with only one keyword in the input. Reformat files.

1a1164e0 06/08/2020 17:04 Carles Marti

Changed logger calls.

f85667b9 06/08/2020 15:29 Carles Marti

Changed order of the functions

1a66fb88 06/08/2020 14:18 Carles Marti

Check restart file to be also present for the calculation to be finished.

cf8fe0e3 06/08/2020 13:34 Carles Marti

Implemented check_finished_calcs which checks whether calculations are finished normally or not.

ec5bba46 04/08/2020 11:40 Carles Marti

Implementes support for irene custom batch queuing system.

09c3325a 31/07/2020 16:43 Carles Marti

A maximum number of jobs can be set to, not only the pending ones, but now also the running ones.

1e36f905 31/07/2020 11:45 Carles Marti

Added variables for the chek of the job status in lsf. Added some comments and small code rearrangement.

2be92b2c 31/07/2020 10:08 Carles Marti

Combined sub_sge and sub_lsf in a more generic function. Combined get_jobs_status_sge and get_jobs_status_lsf in a more generic function. Removed the dependency on gridtk.

b461f289 27/07/2020 11:07 Carles Marti

Started implementing lsf jobs

62a87644 01/07/2020 15:22 Carles Marti

Corrected log messages.

ceaf7bea 30/06/2020 17:47 Carles Marti

Reduced the molecule name length in the job_name.

86cf3a38 30/06/2020 15:15 Carles Marti

Implemented refinement.py

695dcff8 26/06/2020 09:19 Carles Marti

Added punctuation marks at the end of every log messages.

1b54d787 25/06/2020 13:50 Carles Marti

Enabled the creation of calculation subdirectories and files when carrying out a dry run (batch_q_sys = None)

821dca42 23/06/2020 11:08 Carles Marti

Check for options 'code', 'subm_script' is consistent with dry runs and running locally.

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