Installing gendaylit

Hi

As per the installation specification in the README of Gendaylit, I tried to
edit the COPTS of the makefile, but it is giving errors and the compilation
is failing. The default COPTS is -Ae -g. Will it work with the gcc of linux.
I had specified '-o' COPTS for linux and it says the undefined reference to
the trigonometric functions and to 'main'. Is it necessary to use a HP-UX
gcc compiler? Will it work if I use the ILP32 hp-gcc?

Thank you
Chandrayee

···

--
Chandrayee Basu (M.Tech)
Schröfelhofstraße 12, WG 07/02
81375 München
+49-89-289-22403

Hi Chandrayee.

You can use gcc. I just compiled it on Mac OS with gcc
4.01. I didn't use any flags ('CCOPTS=') and set 'CC=gcc'.

I always got an error when compiling it. Today I looked
this up and found that there is a macro fropen() that
conflicts with the definition in the gensky source file
fropen.c (on Mac OS X BSD at least). I renamed 'fropen'
to 'fzopen' in fropen.c and gendaylit.c and it worked!

You may also include 'string.h' to avoid a warning
about strcpy.

Hth and servus,

Thomas

···

On 16 Feb 2009, at 12:42, Chandrayee Basu wrote:

Hi

As per the installation specification in the README of Gendaylit, I tried to edit the COPTS of the makefile, but it is giving errors and the compilation is failing. The default COPTS is -Ae -g. Will it work with the gcc of linux. I had specified '-o' COPTS for linux and it says the undefined reference to the trigonometric functions and to 'main'. Is it necessary to use a HP-UX gcc compiler? Will it work if I use the ILP32 hp-gcc?

Thank you
Chandrayee

--
Chandrayee Basu (M.Tech)
Schröfelhofstraße 12, WG 07/02
81375 München
+49-89-289-22403
_______________________________________________
Radiance-general mailing list
[email protected]
http://www.radiance-online.org/mailman/listinfo/radiance-general

you should use the version from our Web-site. It should work without any
changes.
http://www.ise.fraunhofer.de/radiance

Jan

Chandrayee Basu wrote:

···

Hi

As per the installation specification in the README of Gendaylit, I
tried to edit the COPTS of the makefile, but it is giving errors and
the compilation is failing. The default COPTS is -Ae -g. Will it work
with the gcc of linux. I had specified '-o' COPTS for linux and it
says the undefined reference to the trigonometric functions and to
'main'. Is it necessary to use a HP-UX gcc compiler? Will it work if I
use the ILP32 hp-gcc?

Thank you
Chandrayee

--
Chandrayee Basu (M.Tech)
Schröfelhofstraße 12, WG 07/02
81375 München
+49-89-289-22403
------------------------------------------------------------------------

_______________________________________________
Radiance-general mailing list
[email protected]
http://www.radiance-online.org/mailman/listinfo/radiance-general
  
--
Dipl.-Ing. Jan Wienold
Project Manager
Fraunhofer-Institut für Solare Energiesysteme
Thermal Systems and Buildings, Lighting and Daylighting
Heidenhofstr. 2, 79110 Freiburg, Germany
Phone: +49(0)761 4588 5133 Fax:+49(0)761 4588 9133
[email protected]
http://www.ise.fraunhofer.de

In office:
Mo,Tue: 8:30-18:00
We,Thu: 8:30-16:00
Fr: 8:30-15:30

Yep. Works out of the box.
The makefile targets need some adjustments, though.

Glad to see all the downloads available again.

Regards,
Thomas

···

On 16 Feb 2009, at 14:15, Jan Wienold wrote:

you should use the version from our Web-site. It should work without any changes.
http://www.ise.fraunhofer.de/radiance

Hello

Thank you so much. I have also removed the flags and set cc to gcc. Now
there is a problem with the function fropen in fropen.c and also it says
that the declaration of the built in function strcpy is incompatible. I have
changed fropen to fzopen , even then the problem with the function line is
still there.

Thank you
Chandrayee

···

2009/2/16 Thomas Bleicher <[email protected]>

On 16 Feb 2009, at 14:15, Jan Wienold wrote:

you should use the version from our Web-site. It should work without any
changes.
http://www.ise.fraunhofer.de/radiance

Yep. Works out of the box.
The makefile targets need some adjustments, though.

Glad to see all the downloads available again.

Regards,
Thomas

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

--
Chandrayee Basu (M.Tech)
Schröfelhofstraße 12, WG 07/02
81375 München
+49-89-289-22403

Hello

Thanks. I have installed the gendaylit from the fraunhofer ise website. I am
getting an error in three function lines og gendaylit and in all cases the
warning says ' assignment makes pointer from integer', but the compilation
is done. Is it necessary to fix this? If so, how can I do that?
Thank you
Chandrayee

···

On Mon, Feb 16, 2009 at 4:41 PM, Chandrayee Basu <[email protected]>wrote:

Hello

Thank you so much. I have also removed the flags and set cc to gcc. Now
there is a problem with the function fropen in fropen.c and also it says
that the declaration of the built in function strcpy is incompatible. I have
changed fropen to fzopen , even then the problem with the function line is
still there.

Thank you
Chandrayee

2009/2/16 Thomas Bleicher <[email protected]>

On 16 Feb 2009, at 14:15, Jan Wienold wrote:

you should use the version from our Web-site. It should work without any
changes.
http://www.ise.fraunhofer.de/radiance

Yep. Works out of the box.
The makefile targets need some adjustments, though.

Glad to see all the downloads available again.

Regards,
Thomas

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

--
Chandrayee Basu (M.Tech)
Schröfelhofstraße 12, WG 07/02
81375 München
+49-89-289-22403

--
Chandrayee Basu (M.Tech)
Schröfelhofstraße 12, WG 07/02
81375 München
+49-89-289-22403

Hi,

these are just some warnings - you can ignore them.

Jan

Chandrayee Basu wrote:

···

Hello

Thanks. I have installed the gendaylit from the fraunhofer ise
website. I am getting an error in three function lines og gendaylit
and in all cases the warning says ' assignment makes pointer from
integer', but the compilation is done. Is it necessary to fix this? If
so, how can I do that?
Thank you
Chandrayee
On Mon, Feb 16, 2009 at 4:41 PM, Chandrayee Basu > <[email protected] <mailto:[email protected]>> wrote:

    Hello
     
    Thank you so much. I have also removed the flags and set cc to
    gcc. Now there is a problem with the function fropen in fropen.c
    and also it says that the declaration of the built in function
    strcpy is incompatible. I have changed fropen to fzopen , even
    then the problem with the function line is still there.
     
    Thank you
    Chandrayee
     
    2009/2/16 Thomas Bleicher <[email protected]
    <mailto:[email protected]>>

        On 16 Feb 2009, at 14:15, Jan Wienold wrote:

        you should use the version from our Web-site. It should work
        without any changes.
        http://www.ise.fraunhofer.de/radiance

        Yep. Works out of the box.
        The makefile targets need some adjustments, though.

        Glad to see all the downloads available again.

        Regards,
        Thomas

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

    --
    Chandrayee Basu (M.Tech)
    Schröfelhofstraße 12, WG 07/02
    81375 München
    +49-89-289-22403

--
Chandrayee Basu (M.Tech)
Schröfelhofstraße 12, WG 07/02
81375 München
+49-89-289-22403
------------------------------------------------------------------------

_______________________________________________
Radiance-general mailing list
[email protected]
http://www.radiance-online.org/mailman/listinfo/radiance-general
  
--
Dipl.-Ing. Jan Wienold
Project Manager
Fraunhofer-Institut für Solare Energiesysteme
Thermal Systems and Buildings, Lighting and Daylighting
Heidenhofstr. 2, 79110 Freiburg, Germany
Phone: +49(0)761 4588 5133 Fax:+49(0)761 4588 9133
[email protected]
http://www.ise.fraunhofer.de

In office:
Mo,Tue: 8:30-18:00
We,Thu: 8:30-16:00
Fr: 8:30-15:30

Hello

Thank you for the help. The Gendaylit is installed properly now. Actually I
am facing some errors while trying to export scene from ESP-r to RADIANCE
for which I was suggested to install Gendaylit. I have installed the
components of Gendaylit in the default target locations as given in the
makefile. My RADIANCE is also working properly. But still I am getting error
in ESP-r as 'problem detected in opening filename.rif and
filename_day_f.sky. Is there any problem regarding the location of
Gendaylit? The binaries of RADIANCE are in /usr/local/bin while the
libraries are in /usr/local/lib/ray. But the default location of the
Gendaylit components is /usr/local/radiance. Could this be a problem? Do I
have to reset the environment variable PATH for Gendaylit?

Thank you.

Chandrayee

···

2009/2/16 Jan Wienold <[email protected]>

Hi,

these are just some warnings - you can ignore them.

Jan

Chandrayee Basu wrote:

  Hello

Thanks. I have installed the gendaylit from the fraunhofer ise website. I
am getting an error in three function lines og gendaylit and in all cases
the warning says ' assignment makes pointer from integer', but the
compilation is done. Is it necessary to fix this? If so, how can I do that?
Thank you
Chandrayee
On Mon, Feb 16, 2009 at 4:41 PM, Chandrayee Basu <[email protected]>wrote:

Hello

Thank you so much. I have also removed the flags and set cc to gcc. Now
there is a problem with the function fropen in fropen.c and also it says
that the declaration of the built in function strcpy is incompatible. I have
changed fropen to fzopen , even then the problem with the function line is
still there.

Thank you
Chandrayee

2009/2/16 Thomas Bleicher <[email protected]>

On 16 Feb 2009, at 14:15, Jan Wienold wrote:

you should use the version from our Web-site. It should work without any
changes.
http://www.ise.fraunhofer.de/radiance

Yep. Works out of the box.
The makefile targets need some adjustments, though.

Glad to see all the downloads available again.

Regards,
Thomas

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

--
Chandrayee Basu (M.Tech)
Schröfelhofstraße 12, WG 07/02
81375 München
+49-89-289-22403

--
Chandrayee Basu (M.Tech)
Schröfelhofstraße 12, WG 07/02
81375 München
+49-89-289-22403

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

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

--
Dipl.-Ing. Jan Wienold
Project Manager
Fraunhofer-Institut für Solare Energiesysteme
Thermal Systems and Buildings, Lighting and Daylighting
Heidenhofstr. 2, 79110 Freiburg, Germany
Phone: +49(0)761 4588 5133 Fax:+49(0)761 4588 [email protected]
http://www.ise.fraunhofer.de

In office:
Mo,Tue: 8:30-18:00
We,Thu: 8:30-16:00
Fr: 8:30-15:30

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

--
Chandrayee Basu (M.Tech)
Schröfelhofstraße 12, WG 07/02
81375 München
+49-89-289-22403

The simplest solution is to edit the makefile and
change the installation locations to your existing
Radiance installation (binary and libraries). Then
run 'make install' again in the source directory.

Alternatively you can extend your RAYPATH and
PATH to include the location of gendaylit and its
*.cal files.

There is no risk of overwriting existing
files so I would recommend the first option;

Regards,
Thomas

···

On 17 Feb 2009, at 11:34, Chandrayee Basu wrote:

Is there any problem regarding the location of Gendaylit? The binaries of RADIANCE are in /usr/local/bin while the libraries are in /usr/local/lib/ray. But the default location of the Gendaylit components is /usr/local/radiance. Could this be a problem? Do I have to reset the environment variable PATH for Gendaylit?

Hi all,

Gendaylit seems to spit out an uncommented line as part of the outpu:

    gendaylit : the actual zenith radiance....

This results in output that cannot be run, unless a comment "#" is added in. Is there some reason for this? I have added a "#" in the src and recompiled to remove this.

Thanks,

-Jack

Thomas Bleicher wrote:

···

On 17 Feb 2009, at 11:34, Chandrayee Basu wrote:

Is there any problem regarding the location of Gendaylit? The binaries of RADIANCE are in /usr/local/bin while the libraries are in /usr/local/lib/ray. But the default location of the Gendaylit components is /usr/local/radiance. Could this be a problem? Do I have to reset the environment variable PATH for Gendaylit?

The simplest solution is to edit the makefile and
change the installation locations to your existing
Radiance installation (binary and libraries). Then
run 'make install' again in the source directory.

Alternatively you can extend your RAYPATH and
PATH to include the location of gendaylit and its
*.cal files.

There is no risk of overwriting existing
files so I would recommend the first option;

Regards,
Thomas

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

--
# Jack de Valpine
# president
#
# visarc incorporated
# http://www.visarc.com
#
# channeling technology for superior design and construction

Ack, please disregard! It works fine as is.

Sorry!

Jack de Valpine wrote:

···

Hi all,

Gendaylit seems to spit out an uncommented line as part of the outpu:

    gendaylit : the actual zenith radiance....

This results in output that cannot be run, unless a comment "#" is added in. Is there some reason for this? I have added a "#" in the src and recompiled to remove this.

Thanks,

-Jack

Thomas Bleicher wrote:

On 17 Feb 2009, at 11:34, Chandrayee Basu wrote:

Is there any problem regarding the location of Gendaylit? The binaries of RADIANCE are in /usr/local/bin while the libraries are in /usr/local/lib/ray. But the default location of the Gendaylit components is /usr/local/radiance. Could this be a problem? Do I have to reset the environment variable PATH for Gendaylit?

The simplest solution is to edit the makefile and
change the installation locations to your existing
Radiance installation (binary and libraries). Then
run 'make install' again in the source directory.

Alternatively you can extend your RAYPATH and
PATH to include the location of gendaylit and its
*.cal files.

There is no risk of overwriting existing
files so I would recommend the first option;

Regards,
Thomas

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

--
# Jack de Valpine
# president
#
# visarc incorporated
# http://www.visarc.com
#
# channeling technology for superior design and construction
  ------------------------------------------------------------------------

_______________________________________________
Radiance-general mailing list
[email protected]
http://www.radiance-online.org/mailman/listinfo/radiance-general
  
--
# Jack de Valpine
# president
#
# visarc incorporated
# http://www.visarc.com
#
# channeling technology for superior design and construction

Hello

I am trying to determine Daylight coefficient in a classroom using ESP-r and
RADIANCE. I am getting a message on selecting sky type that "not a radiance
skyfile". What could be the reason for this? I have installed Gendaylit and
included the link to the Gendaylit in PATH and to the Sky .cal files in
RAYPATH. Is it some problem with gensky? What should I do about this?

Thank you

Regards
Chandrayee

···

2009/2/23 Jack de Valpine <[email protected]>

Ack, please disregard! It works fine as is.

Sorry!

Jack de Valpine wrote:

Hi all,

Gendaylit seems to spit out an uncommented line as part of the outpu:

gendaylit : the actual zenith radiance....

This results in output that cannot be run, unless a comment "#" is added
in. Is there some reason for this? I have added a "#" in the src and
recompiled to remove this.

Thanks,

-Jack

Thomas Bleicher wrote:

On 17 Feb 2009, at 11:34, Chandrayee Basu wrote:

Is there any problem regarding the location of Gendaylit? The binaries of
RADIANCE are in /usr/local/bin while the libraries are in
/usr/local/lib/ray. But the default location of the Gendaylit components is
/usr/local/radiance. Could this be a problem? Do I have to reset the
environment variable PATH for Gendaylit?

The simplest solution is to edit the makefile and
change the installation locations to your existing
Radiance installation (binary and libraries). Then
run 'make install' again in the source directory.

Alternatively you can extend your RAYPATH and
PATH to include the location of gendaylit and its
*.cal files.

There is no risk of overwriting existing
files so I would recommend the first option;

Regards,
Thomas

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

--
# Jack de Valpine
# president
#
# visarc incorporated
# http://www.visarc.com
#
# channeling technology for superior design and construction

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

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

--
# Jack de Valpine
# president
#
# visarc incorporated
# http://www.visarc.com
#
# channeling technology for superior design and construction

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

--
Chandrayee Basu (M.Tech)
Schröfelhofstraße 12, WG 07/02
81375 München
+49-89-289-22403