[Radiance-general] Gendaylit

Per Haugaard perhaugaard at yahoo.dk
Sun Nov 30 02:38:42 PST 2008


Dear users,

I know this question is not directly linked to using Radiance/ESP-r but more in installing and making the programmes work as standalone and in coupling. Therefore I hope this is the right forum to post such a question :)

I am using Ubuntu v. 8.10.

I have downloaded and installed Radiance and ESP-r. Both programmes seems to work but there might be missing some libaries to Ubuntu. In order to make the coupling between ESP-r and Radiance, Gendaylit needs to be installed. I have done so by changing the makefile in the Gendaylit package to:

CCOPTS= -g
#CCOPTS= -Ae -g     # HPUX

CC=gcc
#CC=cc

and issued the command 'make'. I have copied the file 'Gendaylit' to '/opt/radiance/bin'  and 'coeff_perez.dat', 'defangle.dat' and 'perezlum.cal' to '/opt/radiance/lib'

To test the Gendaylit file one can issue 'make skyview'. I have done so both as root and as PHA and I get the following errors:

oconv -f sky.rad outside.rad > sky.oct
/bin/sh: oconv: not found
make: *** [skyview] Error 127

or

oconv -f sky.rad outside.rad > sky.oct
/bin/sh: cannot create sky.oct: Permission denied
make: *** [skyview] Error 2

I must also say that I have added the following to both '.profile'-files in '/home/pha' and in '/root'

#Set PATH for ESP-r and Radiance
RAYPATH= .:/lib:/opt/radiance/lib:/opt/radiance/bin
PATH=$PATH:/opt/esru/bin:/opt/esru/esp-r/bin:/opt/radiance/lib:/opt/radiance/bin

export PATH RAYPATH
unset USERNAME

I suspect that there is something wrong with '/bin/sh' which is listed in Ubuntu 8.10 as symlink 'sh -> dash' and 'sh.distrib -> bash'.

I am afried to make any changes to the linux destribution because I am not that familiar with linux.

Can anybody spot a solution to my problem?

Any help is appresiated. 



Best regards

Per Haugaard

______________________



Per Haugaard,

Griffenfeldsgade 33, 2.tv

2200 København N

Denmark



mobil:  +45 26 39 06 40

E-mail: perhaugaard at yahoo.dk


      Trænger du til at se det store billede? Kelkoo giver dig gode tilbud på LCD TV! Se her http://dk.yahoo.com/r/pat/lcd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://radiance-online.org/pipermail/radiance-general/attachments/20081130/de51f3c2/attachment.htm


More information about the Radiance-general mailing list