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?

12replies Oldest first
  • Oldest first
  • Newest first
  • Active threads
  • Popular
    • Andri Arnaldsson
    • Senior Geothermal Scientist - Vatnaskil Consulting Engineers
    • Andri_Arnaldsson
    • 1 mth 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}.

    Reply Like
  • 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.. 

    Reply Like
    • Andri Arnaldsson
    • Senior Geothermal Scientist - Vatnaskil Consulting Engineers
    • Andri_Arnaldsson
    • 1 mth ago
    • Reported - view

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

    Reply Like
    • Andri Arnaldsson In the heti file or in the job script?

      Reply Like
      • Andri Arnaldsson
      • Senior Geothermal Scientist - Vatnaskil Consulting Engineers
      • Andri_Arnaldsson
      • 1 mth ago
      • Reported - view

      In the heti file
       

      Reply Like
    • It did not work.

      I am running it on a cluster.

      Is there a way to print the temporary directory path

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

    Reply Like
    • Andri Arnaldsson
    • Senior Geothermal Scientist - Vatnaskil Consulting Engineers
    • Andri_Arnaldsson
    • 1 mth ago
    • Reported - view

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

    Reply Like
  • 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.

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

    Reply Like
    • Andri Arnaldsson
    • Senior Geothermal Scientist - Vatnaskil Consulting Engineers
    • Andri_Arnaldsson
    • 1 mth ago
    • Reported - view

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

    Reply Like
  • 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;

    Reply Like
Like Follow
  • 1 mth agoLast active
  • 12Replies
  • 21Views
  • 2 Following