1. 23 Aug, 2021 1 commit
  2. 05 Aug, 2021 2 commits
    • sparonuz's avatar
      Merge branch 'run_the_analysis' of... · 37adcda3
      sparonuz authored
      Merge branch 'run_the_analysis' of https://earth.bsc.es/gitlab/sparonuz/AutoRPE into run_the_analysis
      37adcda3
    • sparonuz's avatar
      [run_the_analysis]: added counter for ordering the job, added a function to... · ab1a285e
      sparonuz authored
      [run_the_analysis]: added counter for ordering the job, added a function to automatically move a job to failed queue
      
      [run_the_analysis]: Added a method to exlude a child that is problematic
      
      [run_the_analysis]: We need to ensure the the ids corresponds to the actual variables in the database: created a function that retrieves the ids from banned variable names, subprograms and modules
      
      [run_the_analysis]: Moved remove indexing to basic function. Added facility to store the header files if they are present
      
      [run_the_analysis]: added function to search for preprocessed variables
      
      [run_the_analysis]: Updating the call that has to be fixed with the arugments present in the original files
      
      [run_the_analysis]: Now remove CAST when found in original arguments to avoid multiple cast. Fixed case in which the argument was split on multiple lines: this is a very bad workaround.
      
      [run_the_analysis]: Remove interdependency btw this and POWN. I'll move this script to POWN in a second step
      ab1a285e
  3. 19 Jul, 2021 5 commits
  4. 16 Jul, 2021 3 commits
  5. 15 Jul, 2021 5 commits
  6. 14 Jul, 2021 7 commits
  7. 12 Jul, 2021 7 commits
    • sparonuz's avatar
      [run_the_analysis]: We need to ensure the the ids corresponds to the actual... · 6692bce4
      sparonuz authored
      [run_the_analysis]: We need to ensure the the ids corresponds to the actual variables in the database: created a function that retrieves the ids from banned variable names, subprograms and modules
      6692bce4
    • sparonuz's avatar
      0b1b3b7f
    • sparonuz's avatar
      Merge branch 'develop' into run_the_analysis · 1dc78ac3
      sparonuz authored
      1dc78ac3
    • sparonuz's avatar
    • sparonuz's avatar
      [run_the_analysis]: leftovers from last commit · 38b3cf30
      sparonuz authored
      38b3cf30
    • sparonuz's avatar
      [run_the_analysis]: added counter for ordering the job, added a function to... · bc3f4c1f
      sparonuz authored
      [run_the_analysis]: added counter for ordering the job, added a function to automatically move a job to failed queue
      bc3f4c1f
    • sparonuz's avatar
      [develop]: Squashed commit of the following: · 83b5dede
      sparonuz authored
      commit cf1c1267
      Author: sparonuz <stella.paronuzzi@bsc.es>
      Date:   Fri Jul 9 17:49:27 2021 +0200
      
          [run_@r14986]: Removed indexing of structures of pointers that are passed to isassociated function, avoid compiling error #7835: Record fields or array elements or sections of pointers are not themselves pointers.
      
      commit f10c4c06
      Author: sparonuz <stella.paronuzzi@bsc.es>
      Date:   Fri Jul 9 11:19:09 2021 +0200
      
          [run_@r14986]: Member was not found if surrounded by spaces
      
      commit f6c01eb8
      Merge: 3f5fcb83 20187808
      Author: sparonuz <stella.paronuzzi@bsc.es>
      Date:   Fri Jul 9 10:59:40 2021 +0200
      
          [run_@r14986]: Merge branch 'develop' into run_@r14986
      
      commit 61b5aed1
      Author: sparonuz <stella.paronuzzi@bsc.es>
      Date:   Thu Jul 8 13:05:28 2021 +0200
      
          [run_@r14986]: Bug Fix: If the lhs is a vector, returns None instead of checking the rhs.
      
      commit e039452e
      Author: sparonuz <stella.paronuzzi@bsc.es>
      Date:   Thu Jul 8 10:31:20 2021 +0200
      
          [run_@r14986]: Fix for read function, now that split read arugments does not exists anymore
      
      commit 00d41ace
      Author: sparonuz <stella.paronuzzi@bsc.es>
      Date:   Thu Jul 8 09:30:28 2021 +0200
      
          [run_@r14986]: Avoid finding `use` statement in strings
      
      commit 688e69a3
      Author: sparonuz <stella.paronuzzi@bsc.es>
      Date:   Thu Jul 8 09:27:46 2021 +0200
      
          [run_@r14986]: Was failing whether an if(*write*) was present in line
      
      commit 01419dce
      Merge: e5de981d 8b6a3ee9
      Author: sparonuz <stella.paronuzzi@gmail.com>
      Date:   Fri Jun 18 16:41:57 2021 +0200
      
          Merge branch 'develop' into run_@r14986
      
      commit e5de981d
      Author: sparonuz <stella.paronuzzi@bsc.es>
      Date:   Wed Jun 16 13:34:48 2021 +0200
      
          [run_@r14986]: Internal subrpogram declaration was not correctely parsed, then wrong index was returned by function find_first_use
      
      commit 8782985c
      Author: sparonuz <stella.paronuzzi@bsc.es>
      Date:   Wed Jun 16 11:45:18 2021 +0200
      
          [run_@r14986]: Fix for Issue #155
      
      commit d5933db7
      Author: sparonuz <stella.paronuzzi@bsc.es>
      Date:   Tue Jun 15 17:34:51 2021 +0200
      
          [run_@r14986]: BUGFIX: code was failing in detecting or fixing functions used in if condition.
      
      commit 8acde8c4
      Author: sparonuz <stella.paronuzzi@bsc.es>
      Date:   Tue Jun 15 15:10:43 2021 +0200
      
          [run_@r14986]: Updated function escape_string to not add \b if string is ending in a something different than a letter
      
      commit 4d847801
      Author: sparonuz <stella.paronuzzi@bsc.es>
      Date:   Tue Jun 15 15:05:43 2021 +0200
      
          [run_@r14986]: New function is_array has only to be used inside the remove indexing, so that function get_type stays untouched. Fix for cast specification with kind key_word since look_up table was updated.
      
      commit 557f223a
      Author: sparonuz <stella.paronuzzi@bsc.es>
      Date:   Tue Jun 15 12:50:36 2021 +0200
      
          [run_@r14986]: Fix NatureDeterminer for array with complex indexing
      
      commit 7ca73ca4
      Author: sparonuz <stella.paronuzzi@bsc.es>
      Date:   Tue Jun 15 12:50:10 2021 +0200
      
          [run_@r14986]: Typo in comment
      
      commit 60dc4dea
      Author: sparonuz <stella.paronuzzi@bsc.es>
      Date:   Tue Jun 15 12:39:32 2021 +0200
      
          [run_@r14986]: ImplementRPEtoSources does not need cleaned code, it just have to be preprocessed
      83b5dede
  8. 05 Jul, 2021 7 commits
  9. 18 Jun, 2021 1 commit
  10. 15 Jun, 2021 1 commit
    • sparonuz's avatar
      [Issue#77]: # This is a combination of 42 commits. · cd939da3
      sparonuz authored
      [Issue#77]: Fix bug in update_blocks: the father block was not correctely set
      
      [Issue#77]: Remove CodeCleaner.py
      
      [Issue#77]: function read_file removed from ReadSourceFile class. class ReadSourceFile moved to SourceFile
      
      [Issue#77]: Removed SourceManager: it was containing functions that belonged somwhere else.
      
      [Issue#77]: Fix for issue #147: these scripts are now useless
      
      [Issue#77]: Added parameter working precision to function that checks if two types are equivalent
      
      [Issue#77]: FIX: get_type_of_content was giving char for argument that are function with char argument, but the function per se was not char
      
      [Issue#77]: Module class was loading again lines from source file, which is kind of overkill, since this is already done by SourceFile class. This is moreover wrong is some changes were done in between
      
      [Issue#77]: SubprogramCall has now a member to store the block were the call is done
      
      [Issue#77]: Functions to add cast to non coherent calls: for the moment has been tested on the firs calls found
      
      [Issue#77]: Added function to create a regex for name occurrence: was failing if name contained parenthesis
      
      [Issue#77]: Now adds the #  include \"single_precision_substitute.h90\" clause
      
      [Issue#77]: Added fix for reshapes
      
      [Issue#77]: Dependece were not propagated correctely because the id property was used: it did't make much sense
      
      [Issue#77]: For the moment commented out the part that should suggest to create an interface
      
      [Issue#77]: added function to escape string to put them in regex
      cd939da3
  11. 18 May, 2021 1 commit
    • sparonuz's avatar
      [Issue#147]: # This is a combination of 49 commits. · c1f97764
      sparonuz authored
      [Issue#147]: Added flag to mark variables used in external calls
      
      [Issue#147]: Function to fill vault has been excorporated. Now makeVault assigns ids to all real variables: these were lines that got lost in refactoring.
      
      [Issue#147]: Modified main of Modify code. Now 1) read the banned_var list + vault 2) add var used in external calls to ban list 3) propagate dependency of the ban list
      
      [Issue#147]: Moved function change_code form inserter to ModifyCode
      
      [Issue#147]: Moved function from Inseter + var used in external have to be banned just if they are RPE type
      
      [Issue#147]: Added additional parameter "var_type" for tracking function
      
      [Issue#147]: Added incremental_id to variables, to be used during tracking.
      
      [Issue#147]: Added var_type to function that propagate dependency. Now var_identifier uses var.incremental_number
      
      [Issue#147]: Added tracking of RPE variables
      
      [Issue#147]: Modified function load_sources to take extension as input, and to be able to read files in subdirectories
      
      [Issue#147]: Extension is now passed to create ReadSourceFile objects, to properly set module_name
      
      [Issue#147]: Updated rebuild_text, so as to split lines with \n marker in module.lines
      
      [Issue#147]: Moved all function to deal with non preprocessed code into a single file
      
      [Issue#147]: Added parameter to read file to avoid removing spaces when reading. Fixed bug in write_file that was adding a last empty line to every file.
      
      [Issue#147]: Check that, when looking for allocation of a var  we did not match a member with the same name: a_i will also match %a_i
      
      [Issue#147]: Storing precision with and without KIND keyword specification was useless: removed
      c1f97764