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
-
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}.
-
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..
-
You can try to add to the PARALLEL line something like:
ROOT directory on Linux is: /tmp -
What software is needed for Parallel? Do we need to install GNU parallel?
-
Just compile the code using it2make.sh with the -parallel option. Nothing else should be needed
-
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.
-
What is parallel.info file? Will that be generated by the program with information regarding the parallel jobs?
-
Have you tried to run it locally without the scheduler? Just to see if it starts up normally that way?
-
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;