0

Cannot open file /parallel.info

Hi

 

I am trying to use Parallel option for parallel execution but I am getting error that it cannot open /parallel.info in the itough2 output along mkdir: missing operand.

I am not sure how to get rid of this error.

Did anyone has seen error like this before, if so how to overcome this?

12 replies

null
    • Senior Geothermal Scientist - Vatnaskil Consulting Engineers
    • Andri_Arnaldsson
    • 4 yrs ago
    • Reported - view

    Check your itough2 script. It seems that there is a problem with the Working and Temporary directories. Maybe the tmp_dir_home variable is blank so it is trying to write directly to / (which you probably don't have permission to do) rather than /tmp, or ${HOME}.

    • Nagasree_Garapati.1
    • 4 yrs ago
    • Reported - view

    If the problem is due to working and temporary directories, will it not have effect on serial run?

    I removed parallel and used SENSITIVITY to see if i can run it in serial and it seems its running as of now.. 

    • Senior Geothermal Scientist - Vatnaskil Consulting Engineers
    • Andri_Arnaldsson
    • 4 yrs ago
    • Reported - view

    You can try to add to the PARALLEL line something like:
    ROOT directory on Linux is: /tmp

      • Nagasree_Garapati.1
      • 4 yrs ago
      • Reported - view

      Andri Arnaldsson In the heti file or in the job script?

      • Senior Geothermal Scientist - Vatnaskil Consulting Engineers
      • Andri_Arnaldsson
      • 4 yrs ago
      • Reported - view

      In the heti file
       

      • Nagasree_Garapati.1
      • 4 yrs ago
      • Reported - view

      It did not work.

      I am running it on a cluster.

      Is there a way to print the temporary directory path

    • Nagasree_Garapati.1
    • 4 yrs ago
    • Reported - view

    What software is needed for Parallel? Do we need to install GNU parallel?

    • Senior Geothermal Scientist - Vatnaskil Consulting Engineers
    • Andri_Arnaldsson
    • 4 yrs ago
    • Reported - view

    Just compile the code using it2make.sh with the -parallel option. Nothing else should be needed

    • Nagasree_Garapati.1
    • 4 yrs ago
    • Reported - view

    I compiled with .it2make -parallel -gslib, to use both Geostatistics package and parallel execution.

    In my itough2 output, it is not printing working and temporary directories and that it cannot open file /parallel.info.

     

    ==================================================================================================================================
                                              >>>>>>>>>>>>>  2-Apr-19  10:29 <<<<<<<<<<<<<
     ==================================================================================================================================
     iTOUGH2 INPUT FILE            :  samPARALLELp1i
     TOUGH2 INPUT FILE             :  samPARALLEL
     WORKING DIRECTORY             :  .
     TEMPORARY DIRECTORY           :  .
     EQUATION OF STATE MODULE      :  3 --> Two-phase, non-isothermal flow of water and air
     COMPONENTS                    :  WATER     AIR       HEAT                                    
     PHASES                        :  GAS       LIQUID                        
     TOUGH2 TITLE                  :  sam1: TOUGH2 input file for simulating two-phase, transient 'Darcy' experiment  
     ==================================================================================================================================

     --- PARALLEL ---------------------------------------------------------------------------------------------------------------------
     Task     TID    Host                      Executable
     ----------------------------------------------------------------------------------------------------------------------------------

     *****  ERROR  *****
     * Cannot open file     /parallel.info.
     * Check directory and file permissions.
     *****  ERROR *****
     

    I am submitting the simulation by job scheduler on a cluster and I have itough2 files (source, executable and scripts) on a central group folder and the path for itough2 executable, special files and scripts is included in the bash_profile.

    • Nagasree_Garapati.1
    • 4 yrs ago
    • Reported - view

    What is parallel.info file? Will that be generated by the program with information regarding the parallel jobs?

    • Senior Geothermal Scientist - Vatnaskil Consulting Engineers
    • Andri_Arnaldsson
    • 4 yrs ago
    • Reported - view

    Have you tried to run it locally without the scheduler? Just to see if it starts up normally that way?

    • Nagasree_Garapati.1
    • 4 yrs ago
    • Reported - view

    Yes, it runs in serial 

    and actually when I changed path for the temporary and executable files in itough2 script. I think my parallel file is running now.. 

    Hopefully I will have results.

     

    But When I tried to run the samplePARALLEL example, I had following error

    "Error opening file "/gpfs/scratch/ngarapat/it2_49622/samPARALLEL.dat"

    I think it didnot copy additional samPARALLEL.dat file to the temporary folder.

    Do I need to include in itough2 input file to copy samPARALLEL.dat from working directory to temporary directory.

     

    Thank You for your help;

Content aside

  • 4 yrs agoLast active
  • 12Replies
  • 55Views
  • 2 Following