What does UTSL stand for?
Where would I set the environment variable TEMP or TMP? How do I adjust which /tmp directory PAR uses? I do not see anything in Makefile.PL.
Update: I looked into the code and found PAR_TEMP. Trying to set that now.
Shite. Its not working. I've set PAR_TEMP with declare -x PAR_TEMP=/home/andrew/tmp but it doesn't seem to pick it up. It is still trying to write to /tmp exactly as before. It looks like that code was just touched by the author in the last revision, maybe it is still broken? Or maybe I am doing something wrong?
Update 2: OK, I've finally got it recoginizing the temp directory. Now its passing at least some tests. Still failing 23 of the t/2-pp.t tests.
Update 3: I've isolated the first failing test here:
OUTPUT FROM make test TEST_VERBOSE=1 # [420]sub pp_hello_1 cannot open a pipe for ./a.out 2>&1 |
The code for that is here:
if (!(open (CMD_STDOUT_AND_STDERR, "$cmd 2>&1 |"))){ close(PIPE_LOGFILE); $$message_ref = "\n\[420\]sub $test_name_string cannot " . "open a pipe for $cmd 2>&1 |\n"; return (EXIT_FAILURE); }
Added a dump of $! to $$message_ref error string. Gave me
# [420]sub pp_hello_1 cannot open a pipe for ./a.out 2>&1 | # ($! = Permission denied) #
Permission denied? Why would you get a permission denied from the open command? -Andrew.
In reply to Re^2: PAR::Heavy failed to map segment
by tomazos
in thread PAR::Heavy failed to map segment
by tomazos
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |