[Radiance-general] install Radiance on Mac

Marta Benedetti martabenedetti at live.com
Sun Sep 27 08:37:47 PDT 2015


Bello greg,
That's what I did, I downloaded the pre-compiled binary for Mac OSX. So what should I do next?
I can't create libraries and so on because I have absolutely no idea how to do... I want to cry!
Sorry but I feel completely ignorant in this subject.

Marta

> Il giorno 27 set 2015, alle ore 17:32, Greg Ward <gregoryjward at gmail.com> ha scritto:
> 
> Hi Marta,
> 
> You should just download and use the package installer from NREL:
> 
> 	https://github.com/NREL/Radiance/releases/tag/5.0
> 
> It's much easier than compiling from source for those not used to such things.  Since you're on a standard OS X distribution, you should have no problem.  The recommendations for installing X11 and the developer tools still apply, however.
> 
> Cheers,
> -Greg
> 
>> From: Marta Benedetti <martabenedetti at live.com>
>> Subject: Re: [Radiance-general] install Radiance on Mac
>> Date: September 27, 2015 8:22:25 AM PDT
>> 
>> Where do you want the library files [/usr/local/lib/ray]?
>> 
>> What should I type?
>> 
>> 
>>> Il giorno 27/set/2015, alle ore 17:16, Marta Benedetti <martabenedetti at live.com> ha scritto:
>>> 
>>> I am still stuck on the first steps… as I type the command 
>>> 
>>> tar -zxf rad5R0all.tar.gz
>>> 
>>> I get the message:
>>> 
>>> tar: Error opening archive: Failed to open ‘rad5R0all.tar.gz'
>>> 
>>> What does it mean?
>>> 
>>>> Il giorno 27/set/2015, alle ore 16:17, Chris Kallie <kallie at umn.edu> ha scritto:
>>>> 
>>>> If you are trying to unzip the latest release, the command is most likely:
>>>> 
>>>> tar -zxf rad5R0all.tar.gz
>>>> 
>>>> -zxf is options for the tar command, and the file name being unzipped is at the end.
>>>> 
>>>> Here are my personal notes for installing on Mac and Linux (arrow > means command line, double quotes means replace with appropriate file name, brackets are notes):
>>>> 
>>>> 1) install XCode from App Store
>>>> 2) install X11
>>>> 
>>>> 3) compile, by running these commands
>>>> > tar -xzf "radiance_release"
>>>> > tar -xzf "HEAD"
>>>> > cd ray/
>>>> > sudo ./makeall install
>>>> (use default, or direct to newly made 'bin' folder)
>>>> (use default, or direct to 'lib' folder)
>>>> > ./makeall library
>>>> (direct to 'lib' folder)
>>>> 
>>>> 4) update your paths
>>>> > nano ~/.profile
>>>> 
>>>> Put these three lines in the .profile text file, replacing the appropriate paths. Your paths will look different, but they are the paths to the 'bin' 'lib' and 'doc' folders created during the installation. If you're on a Mac, the file will most likely be empty. If it's not empty, you can add these three lines anywhere in the file.
>>>> 
>>>> export PATH=/Users/chris/Applications/rad50/ray/bin:$PATH
>>>> export RAYPATH=.:/Users/chris/Applications/rad50/ray/lib
>>>> export MANPATH=/Users/chris/Applications/rad50/ray/doc/man
>>>> 
>>>> 5) close and reopen terminal, and test installation
>>>> 
>>>> > which mkpmap
>>>> > man mkpmap
>>>> 
>>>> Download mark stock's benchmark, open a terminal, change to the appropriate directory, and type:
>>>> >tar -xf bench4.zip
>>>> > cd bench4
>>>> (for single core, type:)
>>>> >make
>>>> (for multi core, type:)
>>>> >NCPU=2; make smp
>>>> 
>>>> It will take a bit of practice and patience to get familiar with the Unix command line, so give it time and take plenty of breaks (I recommend going to the gym).
>>>> 
>>>> Hope this helps,
>>>> Chris
>>>> 
>>>>> On 9/27/15 6:48 AM, Marta Benedetti wrote:
>>>>> Hello,
>>>>> 
>>>>> I am completely new to Radiance and I am trying to install it on my Mac. I have Yosemite 10.10.5. I have to use Radiance for my Master thesis.
>>>>> I am already having a hard time in the installation. I am trying to follow the video tutorial on the official website but it refers to an old version (of both website and Mac software): everything is a little bit different and I am doing something wrong. I can’t even start: as I type the command -xzf in order to extract the files, the terminal says: “command not found”.
>>>>> Does anyone know what I am doing wrong? Is there an updated tutorial where I can see what I have to do step by step?
>>>>> Thank you!
>>>>> 
>>>>> Marta
> _______________________________________________
> Radiance-general mailing list
> Radiance-general at radiance-online.org
> http://www.radiance-online.org/mailman/listinfo/radiance-general
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.radiance-online.org/pipermail/radiance-general/attachments/20150927/2997366b/attachment-0001.html>
-------------- next part --------------
_______________________________________________
Radiance-general mailing list
Radiance-general at radiance-online.org
http://www.radiance-online.org/mailman/listinfo/radiance-general


More information about the Radiance-general mailing list