rtrace: warning - ambient file "af" corrupted

Hello everyone,

I'm calculating the L matrix of the Three-phases method with the following
Perl script:

$lum_wp1="LMX/LUM_WP-$orientation-1.lmx";
`cat $wp | rtrace -n $cores -I -af af -ab 6 -ad 2048 -aa 0.2 octree >
$lum_wp1`;
`rm octree af`;

In Radiance 4.2 works correctly, but in Radiance 5.0 shows me the following
error:

rtracertrace: warning - ambient file "af" corrupted near character 250:
warning - ambient file "af" corrupted near character 250
rtrace: warning - ambient file "af" corrupted near character 4337

something changed from version 4.2 to 5.0 in rtrace? or, could I have
installed something wrong?

Regards!

*Daniel Uribe*

Hi Daniel,

I'll leave aside the question of why you are using rtrace in a 3-phase calculation, and just address the error you are seeing.

Although the ambient cache code has changed substantially since version 4.2, this particular error does not seem related to those changes. I would guess that this is either a problem with the system you are running on not maintaining good local file locks, or it was just a hiccup in the system that if you remove the ambient file and start again will simply go away. So, that's what I would try first, and if you get the error again, remove the ambient file once more and run with cores=1. I can't imagine a circumstance where you would see the error after that, but if you had to take it to -n 1 to get the problem to go away, that means your NFS lock manager is broken on your operating system.

Let us know how it goes!

-Greg

···

From: Daniel Uribe <[email protected]>
Date: August 8, 2016 8:57:17 AM PDT

Hello everyone,

I'm calculating the L matrix of the Three-phases method with the following Perl script:

$lum_wp1="LMX/LUM_WP-$orientation-1.lmx";
`cat $wp | rtrace -n $cores -I -af af -ab 6 -ad 2048 -aa 0.2 octree > $lum_wp1`;
`rm octree af`;

In Radiance 4.2 works correctly, but in Radiance 5.0 shows me the following error:

rtracertrace: warning - ambient file "af" corrupted near character 250:
warning - ambient file "af" corrupted near character 250
rtrace: warning - ambient file "af" corrupted near character 4337

something changed from version 4.2 to 5.0 in rtrace? or, could I have installed something wrong?

Regards!

Daniel Uribe

Greg,

Thank you very much for your help. Indeed, changing the number of cores to
-n 1 had no problems running the program. I will look for how to repair the
NFS lock manager of the operating system.

Thanks,

*Daniel Uribe*

···

------------------------------

Message: 4
Date: Mon, 8 Aug 2016 09:17:18 -0700
From: Greg Ward <[email protected]>
To: Radiance general discussion <[email protected]>
Subject: Re: [Radiance-general] rtrace: warning - ambient file "af"
        corrupted
Message-ID: <[email protected]>
Content-Type: text/plain; charset="us-ascii"

Hi Daniel,

I'll leave aside the question of why you are using rtrace in a 3-phase
calculation, and just address the error you are seeing.

Although the ambient cache code has changed substantially since version
4.2, this particular error does not seem related to those changes. I would
guess that this is either a problem with the system you are running on not
maintaining good local file locks, or it was just a hiccup in the system
that if you remove the ambient file and start again will simply go away.
So, that's what I would try first, and if you get the error again, remove
the ambient file once more and run with cores=1. I can't imagine a
circumstance where you would see the error after that, but if you had to
take it to -n 1 to get the problem to go away, that means your NFS lock
manager is broken on your operating system.

Let us know how it goes!

-Greg

> From: Daniel Uribe <[email protected]>
> Date: August 8, 2016 8:57:17 AM PDT
>
> Hello everyone,
>
> I'm calculating the L matrix of the Three-phases method with the
following Perl script:
>
> $lum_wp1="LMX/LUM_WP-$orientation-1.lmx";
> `cat $wp | rtrace -n $cores -I -af af -ab 6 -ad 2048 -aa 0.2 octree >
$lum_wp1`;
> `rm octree af`;
>
> In Radiance 4.2 works correctly, but in Radiance 5.0 shows me the
following error:
>
> rtracertrace: warning - ambient file "af" corrupted near character 250:
> warning - ambient file "af" corrupted near character 250
> rtrace: warning - ambient file "af" corrupted near character 4337
>
> something changed from version 4.2 to 5.0 in rtrace? or, could I have
installed something wrong?
>
> Regards!
>
> Daniel Uribe
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.radiance-online.org/pipermail/radiance-
general/attachments/20160808/6b72a73d/attachment-0001.html>

------------------------------