I suspect I need a 32-bit version of Radiance which I cannot find.
I have been unable to install and use Radiance after hours of studying “radiance-online.org”. I would be very happy to use it for view factors only (oconv and rcontrib). I have a Ubuntu computer. I entered the following line and the error is next:
oconv se.rad > geo.oct
bash: /usr/local/bin/oconv: cannot execute binary file: Exec format error
This computer uses Ubuntu 18.04.6 LTS.
Using the arch command in Ubuntu, I have a i686 processor. Using the lscpu command, my processor is Intel i5-3470 which has a CPU operating mode of 32-bit/64-bit. The i686 suggests I have a 32-bit processor but the oconv file is a 64 bit binary (x86-64, 64 bit , ELF 64).
My attempt at installation is as follows:
Radiance_79ea6ab4_Linux.zip (downloaded to Ubuntu PC, 5/21/23 dated)
Extracted in /home/myname/radiance
Some notes suggest XCode is needed for Mac. Nothing related seems relevant in Ubuntu.
Some notes suggest X11 is needed. After oconv failed, I executed these:
sudo apt install libx11-dev
sudo apt-get install -y libc6-dev
(these did not help and were, apparently, already installed)
I added these PATHs as follows:
#PATH OK as is (no change)
(save and exit gedit, exit/restart terminal, confirmed success)
The unzipped files seemed odd, but there were three nice neat directories that I copied under my home directory. Then I copied them again to the directories noted above and confirmed success:
sudo cp bin/* /usr/local/bin
sudo mkdir /usr/local/lib/ray
sudo cp lib/* /usr/local/lib/ray
sudo mkdir /usr/local/lib/ray/man
sudo cp -r man/* /usr/local/lib/ray/man
It appears that makeall (or spawn ./makeall install) is the preferred method, copying binaries is an OK method, and compiling is for people comfortable with linux development. I tried to follow the copy binary instructions. I did not follow the installer method since I was not sure which directories needed to be used (extract where? execute makeall where?) and I was not sure of the makeall command syntax. I was not totally comfortable with the ID of the downloads (32 bit? 64 bit?).
There was a comment about ’ tar -xzf “HEAD” ’ but I think that was for the makeall/installer method and was for people who want the cutting edge (unproven) version.
Thanks for all the effort here.
Please help or offer suggestions.