3 phase method in Windows OS

Dear expert,

I am trying to run the Three Phase Method in Windows 8 but at the moment of
the DMX generation I have found out a problem with genklemsamp.

Searching in the web I have understood the problem regards something about
some incompatibility of the Pearl language with Windows OS. I have also
find a ZIP archives that contains Radiance Perl scripts that were packaged
into Windows executable files in the Jolaxa site.

Although I have followed the instruction (rather easy since I have only to
paste the exe file in the bin directory) something still doesn't work.

The command crash even if I run a simple case as:

genklemsamp -c 10 - vd 0 -1 0 > sample.dat

with the waring : "genklemsamp has stopped working".

Any suggestion?

Kind regards,
*Giuseppe *

This error must be generated by Perl itself, as it isn't one produced by the genklemsamp.pl script. I don't know enough about Perl and Windows to say more, but perhaps someone else does.

Cheers,
-Greg

···

From: Giuseppe De Michele <[email protected]>
Subject: [Radiance-general] 3 phase method in Windows OS
Date: July 28, 2014 7:39:25 AM PDT

Dear expert,

I am trying to run the Three Phase Method in Windows 8 but at the moment of the DMX generation I have found out a problem with genklemsamp.

Searching in the web I have understood the problem regards something about some incompatibility of the Pearl language with Windows OS. I have also find a ZIP archives that contains Radiance Perl scripts that were packaged into Windows executable files in the Jolaxa site.

Although I have followed the instruction (rather easy since I have only to paste the exe file in the bin directory) something still doesn't work.

The command crash even if I run a simple case as:

genklemsamp -c 10 - vd 0 -1 0 > sample.dat

with the waring : "genklemsamp has stopped working".

Any suggestion?

Kind regards,
Giuseppe

I've only experience with Windows XP and Windows 7, but this should all work fine if you have Perl installed properly. Get your correct version of Perl from here:


…or here:
http://strawberryperl.com/
…and make sure to add the Perl executable directory to your PATH (the installers will optionally do this for you).

You also need to ensure your Radiance installation is correct, meaning that the Radiance bin directory is in your PATH, and the Radiance lib directory is in an environment variable called "RAYPATH".

···

On 7/28/14, 9:57 AM, "Greg Ward" <[email protected]<mailto:[email protected]>> wrote:

This error must be generated by Perl itself, as it isn't one produced by the genklemsamp.pl script. I don't know enough about Perl and Windows to say more, but perhaps someone else does.

Cheers,
-Greg

From: Giuseppe De Michele <[email protected]<mailto:[email protected]>>

Subject: [Radiance-general] 3 phase method in Windows OS

Date: July 28, 2014 7:39:25 AM PDT

Dear expert,

I am trying to run the Three Phase Method in Windows 8 but at the moment of the DMX generation I have found out a problem with genklemsamp.

Searching in the web I have understood the problem regards something about some incompatibility of the Pearl language with Windows OS. I have also find a ZIP archives that contains Radiance Perl scripts that were packaged into Windows executable files in the Jolaxa site.

Although I have followed the instruction (rather easy since I have only to paste the exe file in the bin directory) something still doesn't work.

The command crash even if I run a simple case as:

genklemsamp -c 10 - vd 0 -1 0 > sample.dat

with the waring : "genklemsamp has stopped working".

Any suggestion?

Kind regards,
Giuseppe

Dear Rob and Andy,

Thank you for the help. The interpreter for Pert is what I need.

Although with my colleague we have found an other problem, the same find in
this discussion:

http://www.radiance-online.org/pipermail/radiance-general/2013-July/009660.html

and after replacing the wrong string with the right one ,finally, all seems
works well.
Also in couple with rcontrib.

So thank again expert,
Giuseppe

···

2014-07-28 18:08 GMT+02:00 Guglielmetti, Robert < [email protected]>:

I've only experience with Windows XP and Windows 7, but this should all
work fine if you have Perl installed properly. Get your correct version of
Perl from here:
http://www.activestate.com/activeperl/downloads
…or here:
http://strawberryperl.com/
…and make sure to add the Perl executable directory to your PATH (the
installers will optionally do this for you).

You also need to ensure your Radiance installation is correct, meaning
that the Radiance bin directory is in your PATH, and the Radiance lib
directory is in an environment variable called "RAYPATH".

On 7/28/14, 9:57 AM, "Greg Ward" <[email protected]<mailto: > [email protected]>> wrote:

This error must be generated by Perl itself, as it isn't one produced by
the genklemsamp.pl script. I don't know enough about Perl and Windows to
say more, but perhaps someone else does.

Cheers,
-Greg

From: Giuseppe De Michele <[email protected]<mailto:[email protected]>>

Subject: [Radiance-general] 3 phase method in Windows OS

Date: July 28, 2014 7:39:25 AM PDT

Dear expert,

I am trying to run the Three Phase Method in Windows 8 but at the moment
of the DMX generation I have found out a problem with genklemsamp.

Searching in the web I have understood the problem regards something about
some incompatibility of the Pearl language with Windows OS. I have also
find a ZIP archives that contains Radiance Perl scripts that were packaged
into Windows executable files in the Jolaxa site.

Although I have followed the instruction (rather easy since I have only to
paste the exe file in the bin directory) something still doesn't work.

The command crash even if I run a simple case as:

genklemsamp -c 10 - vd 0 -1 0 > sample.dat

with the waring : "genklemsamp has stopped working".

Any suggestion?

Kind regards,
Giuseppe

_______________________________________________
Radiance-general mailing list
[email protected]
http://www.radiance-online.org/mailman/listinfo/radiance-general

--
*Giuseppe De Michele*

Dear expert,

I am here again. Unfortunately I missed the last step to complete the
simulation with the 3pm.

dctimestep gives back an error message:
  *system - header read error: no such file or directory.*

I report the steps:

*vmx*

oconv materials/materiali.rad scene/stanza.rad objects/window_glow.rad >
temp/model_vmx.oct

rcontrib -n 4 -f klems_int.cal -b kbinS -bn Nkbins -m window_glow -I+ -ab 8
-ad 10000 -as 2048 -ar 1024 -lw 1e-8 -av 0 0 0 temp/model_vmx.oct <
data/cells.pts > data/cells.vmx

*BSDF*
generated with WINDOW 7.2

*dmx*

oconv materials/materiali.rad scene/stanza.rad scene/ground.rad
scene/sky_white1.rad > temp/model_dmx.oct

genklemsamp.pl -c 1000 -vd 0 -1 0 objects/window_glow.rad | rcontrib -n 4
-c 1000 -e MF:4 -f reinhart.cal -b rbin -bn Nrbins -m sky_glow -faa
temp/model_dmx.oct > data/south.dmx

*s + dctimestep* (broken step)

gensky 6 21 15.0 -s -a 44.42 -o -8.85 -m -15.0 | genskyvec -m 4 -c 1 1 1 >
temp\skysun_4.skv

dctimestep data\cells.vmx data\bsdf\clearglass.xml data\south.dmx
temp\skysun_4.skv | rcalc -e "$1=179*($1*0.265+$2*0.670+$3*0.0065)" >
data\ill_cg.dat

The same commands work very well in UNIX environment.
I really don't know where put my hands. Any advice will be appreciate.

Cheers,
Giuseppe

···

2014-07-30 9:38 GMT+02:00 Giuseppe De Michele <[email protected]>:

Dear Rob and Andy,

Thank you for the help. The interpreter for Pert is what I need.

Although with my colleague we have found an other problem, the same find
in this discussion:

http://www.radiance-online.org/pipermail/radiance-general/2013-July/009660.html

and after replacing the wrong string with the right one ,finally, all
seems works well.
Also in couple with rcontrib.

So thank again expert,
Giuseppe

2014-07-28 18:08 GMT+02:00 Guglielmetti, Robert <
[email protected]>:

I've only experience with Windows XP and Windows 7, but this should all

work fine if you have Perl installed properly. Get your correct version of
Perl from here:
http://www.activestate.com/activeperl/downloads
…or here:
http://strawberryperl.com/
…and make sure to add the Perl executable directory to your PATH (the
installers will optionally do this for you).

You also need to ensure your Radiance installation is correct, meaning
that the Radiance bin directory is in your PATH, and the Radiance lib
directory is in an environment variable called "RAYPATH".

On 7/28/14, 9:57 AM, "Greg Ward" <[email protected]<mailto: >> [email protected]>> wrote:

This error must be generated by Perl itself, as it isn't one produced by
the genklemsamp.pl script. I don't know enough about Perl and Windows
to say more, but perhaps someone else does.

Cheers,
-Greg

From: Giuseppe De Michele <[email protected]<mailto:[email protected]>>

Subject: [Radiance-general] 3 phase method in Windows OS

Date: July 28, 2014 7:39:25 AM PDT

Dear expert,

I am trying to run the Three Phase Method in Windows 8 but at the moment
of the DMX generation I have found out a problem with genklemsamp.

Searching in the web I have understood the problem regards something
about some incompatibility of the Pearl language with Windows OS. I have
also find a ZIP archives that contains Radiance Perl scripts that were
packaged into Windows executable files in the Jolaxa site.

Although I have followed the instruction (rather easy since I have only
to paste the exe file in the bin directory) something still doesn't work.

The command crash even if I run a simple case as:

genklemsamp -c 10 - vd 0 -1 0 > sample.dat

with the waring : "genklemsamp has stopped working".

Any suggestion?

Kind regards,
Giuseppe

_______________________________________________
Radiance-general mailing list
[email protected]
http://www.radiance-online.org/mailman/listinfo/radiance-general

--
*Giuseppe De Michele*

--
*Giuseppe De Michele*

This error could only be generated by an older version of dctimestep, as it was removed before June. I don't know if there is a way to update your binaries to make sure you have the latest, which may (or may not) solve your problem.

Cheers,
-Greg

···

From: Giuseppe De Michele <[email protected]>
Subject: Re: [Radiance-general] 3 phase method in Windows OS
Date: July 30, 2014 2:59:19 AM PDT

Dear expert,

I am here again. Unfortunately I missed the last step to complete the simulation with the 3pm.

dctimestep gives back an error message:
  system - header read error: no such file or directory.

I report the steps:

vmx

oconv materials/materiali.rad scene/stanza.rad objects/window_glow.rad > temp/model_vmx.oct

rcontrib -n 4 -f klems_int.cal -b kbinS -bn Nkbins -m window_glow -I+ -ab 8 -ad 10000 -as 2048 -ar 1024 -lw 1e-8 -av 0 0 0 temp/model_vmx.oct < data/cells.pts > data/cells.vmx

BSDF
generated with WINDOW 7.2

dmx

oconv materials/materiali.rad scene/stanza.rad scene/ground.rad scene/sky_white1.rad > temp/model_dmx.oct

genklemsamp.pl -c 1000 -vd 0 -1 0 objects/window_glow.rad | rcontrib -n 4 -c 1000 -e MF:4 -f reinhart.cal -b rbin -bn Nrbins -m sky_glow -faa temp/model_dmx.oct > data/south.dmx

s + dctimestep (broken step)

gensky 6 21 15.0 -s -a 44.42 -o -8.85 -m -15.0 | genskyvec -m 4 -c 1 1 1 > temp\skysun_4.skv

dctimestep data\cells.vmx data\bsdf\clearglass.xml data\south.dmx temp\skysun_4.skv | rcalc -e "$1=179*($1*0.265+$2*0.670+$3*0.0065)" > data\ill_cg.dat

The same commands work very well in UNIX environment.
I really don't know where put my hands. Any advice will be appreciate.

Cheers,
Giuseppe

2014-07-30 9:38 GMT+02:00 Giuseppe De Michele <[email protected]>:
Dear Rob and Andy,

Thank you for the help. The interpreter for Pert is what I need.

Although with my colleague we have found an other problem, the same find in this discussion:

http://www.radiance-online.org/pipermail/radiance-general/2013-July/009660.html

and after replacing the wrong string with the right one ,finally, all seems works well.
Also in couple with rcontrib.

So thank again expert,
Giuseppe

2014-07-28 18:08 GMT+02:00 Guglielmetti, Robert <[email protected]>:

I've only experience with Windows XP and Windows 7, but this should all work fine if you have Perl installed properly. Get your correct version of Perl from here:
http://www.activestate.com/activeperl/downloads
…or here:
http://strawberryperl.com/
…and make sure to add the Perl executable directory to your PATH (the installers will optionally do this for you).

You also need to ensure your Radiance installation is correct, meaning that the Radiance bin directory is in your PATH, and the Radiance lib directory is in an environment variable called "RAYPATH".

On 7/28/14, 9:57 AM, "Greg Ward" <[email protected]<mailto:[email protected]>> wrote:

This error must be generated by Perl itself, as it isn't one produced by the genklemsamp.pl script. I don't know enough about Perl and Windows to say more, but perhaps someone else does.

Cheers,
-Greg

From: Giuseppe De Michele <[email protected]<mailto:[email protected]>>

Subject: [Radiance-general] 3 phase method in Windows OS

Date: July 28, 2014 7:39:25 AM PDT

Dear expert,

I am trying to run the Three Phase Method in Windows 8 but at the moment of the DMX generation I have found out a problem with genklemsamp.

Searching in the web I have understood the problem regards something about some incompatibility of the Pearl language with Windows OS. I have also find a ZIP archives that contains Radiance Perl scripts that were packaged into Windows executable files in the Jolaxa site.

Although I have followed the instruction (rather easy since I have only to paste the exe file in the bin directory) something still doesn't work.

The command crash even if I run a simple case as:

genklemsamp -c 10 - vd 0 -1 0 > sample.dat

with the waring : "genklemsamp has stopped working".

Any suggestion?

Kind regards,
Giuseppe

Dear Greg,

Really before to start with the 3pm simulation in windows (last monday) I
installed, I guss, the last release for windows from:
https://github.com/NREL/Radiance/releases/tag/4.2.a.4 .
Unfortunately I am not in office now but tomorrow I am going to check the
verision.
I really hope that this is the problem.... Let's keep out finger crossed!

Cheers,
Giuseppe

···

2014-07-30 17:58 GMT+02:00 Greg Ward <[email protected]>:

This error could only be generated by an older version of dctimestep, as
it was removed before June. I don't know if there is a way to update your
binaries to make sure you have the latest, which may (or may not) solve
your problem.

Cheers,
-Greg

*From: *Giuseppe De Michele <[email protected]>

*Subject: *Re: [Radiance-general] 3 phase method in Windows OS

*Date: *July 30, 2014 2:59:19 AM PDT

Dear expert,

I am here again. Unfortunately I missed the last step to complete the
simulation with the 3pm.

dctimestep gives back an error message:
  *system - header read error: no such file or directory.*

I report the steps:

*vmx*

oconv materials/materiali.rad scene/stanza.rad objects/window_glow.rad >
temp/model_vmx.oct

rcontrib -n 4 -f klems_int.cal -b kbinS -bn Nkbins -m window_glow -I+ -ab
8 -ad 10000 -as 2048 -ar 1024 -lw 1e-8 -av 0 0 0 temp/model_vmx.oct <
data/cells.pts > data/cells.vmx

*BSDF*
generated with WINDOW 7.2

*dmx*

oconv materials/materiali.rad scene/stanza.rad scene/ground.rad
scene/sky_white1.rad > temp/model_dmx.oct

genklemsamp.pl -c 1000 -vd 0 -1 0 objects/window_glow.rad | rcontrib -n 4
-c 1000 -e MF:4 -f reinhart.cal -b rbin -bn Nrbins -m sky_glow -faa
temp/model_dmx.oct > data/south.dmx

*s + dctimestep* (broken step)

gensky 6 21 15.0 -s -a 44.42 -o -8.85 -m -15.0 | genskyvec -m 4 -c 1 1 1 >
temp\skysun_4.skv

dctimestep data\cells.vmx data\bsdf\clearglass.xml data\south.dmx
temp\skysun_4.skv | rcalc -e "$1=179*($1*0.265+$2*0.670+$3*0.0065)" >
data\ill_cg.dat

The same commands work very well in UNIX environment.
I really don't know where put my hands. Any advice will be appreciate.

Cheers,
Giuseppe

2014-07-30 9:38 GMT+02:00 Giuseppe De Michele <[email protected]>:

Dear Rob and Andy,

Thank you for the help. The interpreter for Pert is what I need.

Although with my colleague we have found an other problem, the same find
in this discussion:

http://www.radiance-online.org/pipermail/radiance-general/2013-July/009660.html

and after replacing the wrong string with the right one ,finally, all
seems works well.
Also in couple with rcontrib.

So thank again expert,
Giuseppe

2014-07-28 18:08 GMT+02:00 Guglielmetti, Robert <
[email protected]>:

I've only experience with Windows XP and Windows 7, but this should all

work fine if you have Perl installed properly. Get your correct version of
Perl from here:
http://www.activestate.com/activeperl/downloads
…or here:
http://strawberryperl.com/
…and make sure to add the Perl executable directory to your PATH (the
installers will optionally do this for you).

You also need to ensure your Radiance installation is correct, meaning
that the Radiance bin directory is in your PATH, and the Radiance lib
directory is in an environment variable called "RAYPATH".

On 7/28/14, 9:57 AM, "Greg Ward" <[email protected]<mailto: >>> [email protected]>> wrote:

This error must be generated by Perl itself, as it isn't one produced by
the genklemsamp.pl script. I don't know enough about Perl and Windows
to say more, but perhaps someone else does.

Cheers,
-Greg

From: Giuseppe De Michele <[email protected]<mailto:[email protected]
>>

Subject: [Radiance-general] 3 phase method in Windows OS

Date: July 28, 2014 7:39:25 AM PDT

Dear expert,

I am trying to run the Three Phase Method in Windows 8 but at the moment
of the DMX generation I have found out a problem with genklemsamp.

Searching in the web I have understood the problem regards something
about some incompatibility of the Pearl language with Windows OS. I have
also find a ZIP archives that contains Radiance Perl scripts that were
packaged into Windows executable files in the Jolaxa site.

Although I have followed the instruction (rather easy since I have only
to paste the exe file in the bin directory) something still doesn't work.

The command crash even if I run a simple case as:

genklemsamp -c 10 - vd 0 -1 0 > sample.dat

with the waring : "genklemsamp has stopped working".

Any suggestion?

Kind regards,
Giuseppe

_______________________________________________
Radiance-general mailing list
[email protected]
http://www.radiance-online.org/mailman/listinfo/radiance-general

--
*Giuseppe De Michele*

Dear Greg,

I have found out the problem. dctimestep was recalled from the Radiance
version contained in DIVA folder (the old version as you said yesterday).
I have solved the problem simply locating the c:/radiance/bin path before
the DIVA's one in the Environment Variables.

Thanks for the helpful advice,
Giuseppe

···

2014-07-30 20:56 GMT+02:00 Giuseppe De Michele <[email protected]>:

Dear Greg,

Really before to start with the 3pm simulation in windows (last monday) I
installed, I guss, the last release for windows from:
https://github.com/NREL/Radiance/releases/tag/4.2.a.4 .
Unfortunately I am not in office now but tomorrow I am going to check the
verision.
I really hope that this is the problem.... Let's keep out finger crossed!

Cheers,
Giuseppe

2014-07-30 17:58 GMT+02:00 Greg Ward <[email protected]>:

This error could only be generated by an older version of dctimestep, as
it was removed before June. I don't know if there is a way to update your
binaries to make sure you have the latest, which may (or may not) solve
your problem.

Cheers,
-Greg

*From: *Giuseppe De Michele <[email protected]>

*Subject: *Re: [Radiance-general] 3 phase method in Windows OS

*Date: *July 30, 2014 2:59:19 AM PDT

Dear expert,

I am here again. Unfortunately I missed the last step to complete the
simulation with the 3pm.

dctimestep gives back an error message:
  *system - header read error: no such file or directory.*

I report the steps:

*vmx*

oconv materials/materiali.rad scene/stanza.rad objects/window_glow.rad >
temp/model_vmx.oct

rcontrib -n 4 -f klems_int.cal -b kbinS -bn Nkbins -m window_glow -I+ -ab
8 -ad 10000 -as 2048 -ar 1024 -lw 1e-8 -av 0 0 0 temp/model_vmx.oct <
data/cells.pts > data/cells.vmx

*BSDF*
generated with WINDOW 7.2

*dmx*

oconv materials/materiali.rad scene/stanza.rad scene/ground.rad
scene/sky_white1.rad > temp/model_dmx.oct

genklemsamp.pl -c 1000 -vd 0 -1 0 objects/window_glow.rad | rcontrib -n
4 -c 1000 -e MF:4 -f reinhart.cal -b rbin -bn Nrbins -m sky_glow -faa
temp/model_dmx.oct > data/south.dmx

*s + dctimestep* (broken step)

gensky 6 21 15.0 -s -a 44.42 -o -8.85 -m -15.0 | genskyvec -m 4 -c 1 1 1
> temp\skysun_4.skv

dctimestep data\cells.vmx data\bsdf\clearglass.xml data\south.dmx
temp\skysun_4.skv | rcalc -e "$1=179*($1*0.265+$2*0.670+$3*0.0065)" >
data\ill_cg.dat

The same commands work very well in UNIX environment.
I really don't know where put my hands. Any advice will be appreciate.

Cheers,
Giuseppe

2014-07-30 9:38 GMT+02:00 Giuseppe De Michele <[email protected]>:

Dear Rob and Andy,

Thank you for the help. The interpreter for Pert is what I need.

Although with my colleague we have found an other problem, the same find
in this discussion:

http://www.radiance-online.org/pipermail/radiance-general/2013-July/009660.html

and after replacing the wrong string with the right one ,finally, all
seems works well.
Also in couple with rcontrib.

So thank again expert,
Giuseppe

2014-07-28 18:08 GMT+02:00 Guglielmetti, Robert <
[email protected]>:

I've only experience with Windows XP and Windows 7, but this should all

work fine if you have Perl installed properly. Get your correct version of
Perl from here:
http://www.activestate.com/activeperl/downloads
…or here:
http://strawberryperl.com/
…and make sure to add the Perl executable directory to your PATH (the
installers will optionally do this for you).

You also need to ensure your Radiance installation is correct, meaning
that the Radiance bin directory is in your PATH, and the Radiance lib
directory is in an environment variable called "RAYPATH".

On 7/28/14, 9:57 AM, "Greg Ward" <[email protected]<mailto: >>>> [email protected]>> wrote:

This error must be generated by Perl itself, as it isn't one produced
by the genklemsamp.pl script. I don't know enough about Perl and
Windows to say more, but perhaps someone else does.

Cheers,
-Greg

From: Giuseppe De Michele <[email protected]<mailto:[email protected]
>>

Subject: [Radiance-general] 3 phase method in Windows OS

Date: July 28, 2014 7:39:25 AM PDT

Dear expert,

I am trying to run the Three Phase Method in Windows 8 but at the
moment of the DMX generation I have found out a problem with genklemsamp.

Searching in the web I have understood the problem regards something
about some incompatibility of the Pearl language with Windows OS. I have
also find a ZIP archives that contains Radiance Perl scripts that were
packaged into Windows executable files in the Jolaxa site.

Although I have followed the instruction (rather easy since I have only
to paste the exe file in the bin directory) something still doesn't work.

The command crash even if I run a simple case as:

genklemsamp -c 10 - vd 0 -1 0 > sample.dat

with the waring : "genklemsamp has stopped working".

Any suggestion?

Kind regards,
Giuseppe

_______________________________________________
Radiance-general mailing list
[email protected]
http://www.radiance-online.org/mailman/listinfo/radiance-general

--
*Giuseppe De Michele*

--
*Giuseppe De Michele*