evalglare: Bad CPU type in executable

Dear list,

I recently tried using evalglare on my mac (OS X Mavericks 10.9.5) and
received the following feedback from the terminal (when entering
evalglare -v)

/usr/local/ray/bin/evalglare: *Bad CPU type in executable*

A quick google of this kind of error suggests that i need an updated binary
file, or need to compile evalglare from source on my machine
https://discussions.apple.com/thread/6130828

I though it would be problem solved by installing the new Radiance binaries
from NREL

But i get the same error

Any suggestions here?

best,

-Kyle

hi kyle,
did you try to compile radiance as well?
i just did it yesterday (official 5.0 release) for mavericks and yosemite and both installed completely (including evalglare v17) without problems in less than 3min.
(of course you need the xcode and x11 package as well).
Jan

···

On November 17, 2015 10:26:24 PM CET, Kyle Konis <[email protected]> wrote:

Dear list,

I recently tried using evalglare on my mac (OS X Mavericks 10.9.5) and
received the following feedback from the terminal (when entering
evalglare -v)

/usr/local/ray/bin/evalglare: *Bad CPU type in executable*

A quick google of this kind of error suggests that i need an updated
binary
file, or need to compile evalglare from source on my machine
https://discussions.apple.com/thread/6130828

I though it would be problem solved by installing the new Radiance
binaries
from NREL
https://github.com/NREL/Radiance/releases

But i get the same error

Any suggestions here?

best,

-Kyle

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

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

--
Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.

Hey Kyle,

Also, which NREL version did you try? The latest Mac installer on the NREL site was built on my system here, same as yours (Mavericks 10.9.5), and I get:

$ evalglare -v
evalglare 1.17 release 15.07.2015 by EPFL, J.Wienold

···

On 11/17/15, 2:43 PM, "Jan Wienold" <[email protected]<mailto:[email protected]>> wrote:

hi kyle,
did you try to compile radiance as well?
i just did it yesterday (official 5.0 release) for mavericks and yosemite and both installed completely (including evalglare v17) without problems in less than 3min.
(of course you need the xcode and x11 package as well).
Jan

On November 17, 2015 10:26:24 PM CET, Kyle Konis <[email protected]<mailto:[email protected]>> wrote:
Dear list,

I recently tried using evalglare on my mac (OS X Mavericks 10.9.5) and received the following feedback from the terminal (when entering evalglare -v)

/usr/local/ray/bin/evalglare: Bad CPU type in executable

A quick google of this kind of error suggests that i need an updated binary file, or need to compile evalglare from source on my machine
https://discussions.apple.com/thread/6130828

I though it would be problem solved by installing the new Radiance binaries from NREL

But i get the same error

Any suggestions here?

best,

-Kyle

________________________________

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

--
Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.

Hi Jan and Rob,

Thanks for the quick response,

No, i just used the NREL installers . . .

Specifically : *radiance-5.0.0-Darwin.dmg*
<https://github.com/NREL/Radiance/releases/download/5.0/radiance-5.0.0-Darwin.dmg>

from

But here's a clue . . .

Since i have an old version of evalglare (and radiance) on my machine, i
deleted evalglare just to see if the installer would replace it.

I also deleted the radiance program "total"

I opened the radiance installer and followed all the steps, and got the
"Installation was successful" screen.

However no evalglare in /usr/local/ray/bin/evalglare

and no /usr/local/ray/bin/total

So i think my prior issue is probably that i had a very old version of
evalglare on my machine.

And the new issue is that i am expecting the installer to overwrite the
files in /usr/local/ray/bin/ and it seems to not be doing this ( ? )

-Kyle

···

On Tue, Nov 17, 2015 at 1:43 PM, Jan Wienold <[email protected]> wrote:

hi kyle,
did you try to compile radiance as well?
i just did it yesterday (official 5.0 release) for mavericks and yosemite
and both installed completely (including evalglare v17) without problems in
less than 3min.
(of course you need the xcode and x11 package as well).
Jan

On November 17, 2015 10:26:24 PM CET, Kyle Konis <[email protected]> > wrote:

Dear list,

I recently tried using evalglare on my mac (OS X Mavericks 10.9.5) and
received the following feedback from the terminal (when entering
evalglare -v)

/usr/local/ray/bin/evalglare: *Bad CPU type in executable*

A quick google of this kind of error suggests that i need an updated
binary file, or need to compile evalglare from source on my machine
https://discussions.apple.com/thread/6130828

I though it would be problem solved by installing the new Radiance
binaries from NREL
https://github.com/NREL/Radiance/releases

But i get the same error

Any suggestions here?

best,

-Kyle

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

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

--
Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail
gesendet.

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

By default, the NREL Mac installer puts everything in:

/usr/local/radiance/bin (programs)
/usr/local/radiance/lib (library/cal files)
/usr/local/radiance/man (little green men and manual pages)

So yeah, you need to update your environment ($PATH and $RAYPATH) or change the installation location (which I'm 97% certain you can do with the installer (and that it works)) to match your environment.

You can always check to see what your system is using for executables by typing "which <program_name>" at the cli, which returns the full pathname of the system executable (regardless of how many versions you have scattered about), e.g.:

$ which evalglare
/usr/local/radiance/bin/evalglare

I'd also get the latest installer while you're at it:

HTH!

- Rob

···

On 11/17/15, 3:13 PM, "Kyle Konis" <[email protected]<mailto:[email protected]>> wrote:

Hi Jan and Rob,

Thanks for the quick response,

No, i just used the NREL installers . . .

Specifically : radiance-5.0.0-Darwin.dmg<https://github.com/NREL/Radiance/releases/download/5.0/radiance-5.0.0-Darwin.dmg>

from

But here's a clue . . .

Since i have an old version of evalglare (and radiance) on my machine, i deleted evalglare just to see if the installer would replace it.

I also deleted the radiance program "total"

I opened the radiance installer and followed all the steps, and got the "Installation was successful" screen.

However no evalglare in /usr/local/ray/bin/evalglare

and no /usr/local/ray/bin/total

So i think my prior issue is probably that i had a very old version of evalglare on my machine.

And the new issue is that i am expecting the installer to overwrite the files in /usr/local/ray/bin/ and it seems to not be doing this ( ? )

-Kyle

On Tue, Nov 17, 2015 at 1:43 PM, Jan Wienold <[email protected]<mailto:[email protected]>> wrote:
hi kyle,
did you try to compile radiance as well?
i just did it yesterday (official 5.0 release) for mavericks and yosemite and both installed completely (including evalglare v17) without problems in less than 3min.
(of course you need the xcode and x11 package as well).
Jan

On November 17, 2015 10:26:24 PM CET, Kyle Konis <[email protected]<mailto:[email protected]>> wrote:
Dear list,

I recently tried using evalglare on my mac (OS X Mavericks 10.9.5) and received the following feedback from the terminal (when entering evalglare -v)

/usr/local/ray/bin/evalglare: Bad CPU type in executable

A quick google of this kind of error suggests that i need an updated binary file, or need to compile evalglare from source on my machine
https://discussions.apple.com/thread/6130828

I though it would be problem solved by installing the new Radiance binaries from NREL

But i get the same error

Any suggestions here?

best,

-Kyle

________________________________

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

--
Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.

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

Also you can try the command "type -a <program_name>" which will output multiple lines listing all instances of a program in order of priority the system will call them - in case you have competing instances in multiple locations and multiple PATHs defined.

···

-----Original Message-----
From: Guglielmetti, Robert [mailto:[email protected]]

You can always check to see what your system is using for executables by typing "which <program_name>" at the cli, which returns the full pathname of the system executable (regardless of how many versions you have scattered about), e.g.:

$ which evalglare
/usr/local/radiance/bin/evalglare

____________________________________________________________
Electronic mail messages entering and leaving Arup business
systems are scanned for acceptability of content and viruses

Thanks to all,

In the end it was my own mind that needed an upgrade, as i forgot that the
NREL installers use (as Rob kindly pointed out),

/usr/local/radiance

and not

/usr/local/ray

which is hardwired into my brain for some reason.

Anyways, i am now happily evaluating glare!

-Kyle

···

On Tue, Nov 17, 2015 at 2:26 PM, Guglielmetti, Robert < [email protected]> wrote:

By default, the NREL Mac installer puts everything in:

/usr/local/radiance/bin (programs)
/usr/local/radiance/lib (library/cal files)
/usr/local/radiance/man (little green men and manual pages)

So yeah, you need to update your environment ($PATH and $RAYPATH) or
change the installation location (which I'm 97% certain you can do with the
installer (and that it works)) to match your environment.

You can always check to see what your system is using for executables by
typing "which <program_name>" at the cli, which returns the full pathname
of the system executable (regardless of how many versions you have
scattered about), e.g.:

$ which evalglare
/usr/local/radiance/bin/evalglare

I'd also get the latest installer while you're at it:

https://github.com/NREL/Radiance/releases/tag/5.0.a.6

HTH!

- Rob

On 11/17/15, 3:13 PM, "Kyle Konis" <[email protected]<mailto: > [email protected]>> wrote:

Hi Jan and Rob,

Thanks for the quick response,

No, i just used the NREL installers . . .

Specifically : radiance-5.0.0-Darwin.dmg<
https://github.com/NREL/Radiance/releases/download/5.0/radiance-5.0.0-Darwin.dmg
>

from
https://github.com/NREL/Radiance/releases/tag/5.0

But here's a clue . . .

Since i have an old version of evalglare (and radiance) on my machine, i
deleted evalglare just to see if the installer would replace it.

I also deleted the radiance program "total"

I opened the radiance installer and followed all the steps, and got the
"Installation was successful" screen.

However no evalglare in /usr/local/ray/bin/evalglare

and no /usr/local/ray/bin/total

So i think my prior issue is probably that i had a very old version of
evalglare on my machine.

And the new issue is that i am expecting the installer to overwrite the
files in /usr/local/ray/bin/ and it seems to not be doing this ( ? )

-Kyle

On Tue, Nov 17, 2015 at 1:43 PM, Jan Wienold <[email protected]<mailto: > [email protected]>> wrote:
hi kyle,
did you try to compile radiance as well?
i just did it yesterday (official 5.0 release) for mavericks and yosemite
and both installed completely (including evalglare v17) without problems in
less than 3min.
(of course you need the xcode and x11 package as well).
Jan

On November 17, 2015 10:26:24 PM CET, Kyle Konis <[email protected] > <mailto:[email protected]>> wrote:
Dear list,

I recently tried using evalglare on my mac (OS X Mavericks 10.9.5) and
received the following feedback from the terminal (when entering
evalglare -v)

/usr/local/ray/bin/evalglare: Bad CPU type in executable

A quick google of this kind of error suggests that i need an updated
binary file, or need to compile evalglare from source on my machine
https://discussions.apple.com/thread/6130828

I though it would be problem solved by installing the new Radiance
binaries from NREL
https://github.com/NREL/Radiance/releases

But i get the same error

Any suggestions here?

best,

-Kyle

________________________________

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

--
Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail
gesendet.

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

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

Thanks to all,

In the end it was my own mind that needed an upgrade, as i forgot that the NREL installers use (as Rob kindly pointed out),

/usr/local/radiance

*** To be clear, only the Mac installer does this. The Windows installer has Windowsy paths, and the Linux installer isn't an installer at all, it's just a tarball of everything. I wish these were more consistent and also were better about modifying the system environments for the user, but, whatever...

···

On 11/17/15, 4:40 PM, "Kyle Konis" <[email protected]<mailto:[email protected]>> wrote: