You are here: Home / archived / radsite / radiance / pub / incoming / maddux / README

README

############################################################################### README - RADIANCE version 3R1P20 Binaries compiled for the UP2000 / Alpha 21264 ############################################################################### CAVEAT: I compiled RADIANCE version 3R1P20 on my system, a UP2000 / Alpha 21264 running Red Hat LINUX 6.2, but I do not guarantee that these binaries will work on your system. So, use at your own risk. ############################################################################### Having said that, here is some background information on the files included in this folder. UP2000 comprises 2 folders: bin.ccc: RADIANCE 3R1P20 binaries compiled with Compaq's C Compiler bin.gcc: RADIANCE 3R1P20 binaries compiled with the GNU C Compiler I compiled RADIANCE version 3R1P20 on a dual-Alpha 21264 UP2000 running Red Hat LINUX 6.2. I entered these default options in response to the MAKEALL script: EDITOR: vi PATH: /usr/local/bin [For Binaries] /usr/local/lib/ray [For Libraries] NEW USER: No LICENSE: Yes [Agree to License] MEMORY: Yes [More than 96 MB] PREINSTALL LIBRARIES: No Note that you must have VI, or you may get an error when running the RADIANCE programs. Also, you need at least 96 MB of memory, or you may get an error when running the RADIANCE programs. I modified the MAKEALL script as descibed below and ran it, and RADIANCE compiled without any errors. I then worked through the RADIANCE Tutorial, ROOM.RAD, and everything worked like the tutorial described. I also tried TRAD, the Tcl/Tk frontend to RAD, and it also worked fine. Beyond this point, I do not know how these binaries perform. Below are comments specific to each compiler. ############################################################################### BIN.CCC *********************************** WARNING *********************************** I set the compiler option to "-fast" which causes CCC to compile programs specifically for the HOST architecture (See Page 34 of the Manual page for CCC). So, if you do not have a UP2000 / 21264 Alpha, then do not use these binaries. Try the BIN.GCC files instead. ******************************************************************************* I used the following version of Compaq's Tru64 UNIX C Compiler for LINUX: Compaq C Compiler 6.2.9.002-2 I edited the MAKEFILE to add a case 4.5 with the following options: case 4.5: # API UP2000 running Red Hat LINUX 6.2 set mach="-DBSD -DALIGN=double -DBIGMEM -Dlinux -DDCL_ATOF -L/usr/X11R6/lib -I/usr/include/X11" set opt="-fast -O4 -DSPEED=500" set arch=alpha set compat="bmalloc.o strcmp.o" set extras=CC=ccc set canmalloc breaksw I did this because I could not compile RADIANCE properly (i.e., no errors) with the regular MAKEALL script. I arbitrarily set "-DSPEED" to 500; so you can experiment with the DSPEED option if you like. ############################################################################### BIN.GCC I used the following version of GCC to compile RADIANCE: egcs-2.91.66 (egcs-1.1.2 release) I edited the MAKEFILE to add a case 4.5 with the following options: case 4.5: # API UP2000 running Red Hat LINUX 6.2 set mach="-DBSD -DALIGN=double -Dlinux -DDCL_ATOF -L/usr/X11R6/lib -I/usr/include/X11" set opt="-O2 -DSPEED=200" set arch=alpha set compat="malloc.o erf.o getpagesize.o" set extras=CC=gcc set canmalloc breaksw As I mentioned above, I did this because I could not compile RADIANCE properly (i.e., no errors) with the regular MAKEALL script. ############################################################################### For questions, comments, etc., you can e-mail me at: [email protected] Daniel E. Maddux
by admin – last modified Nov 09, 2019 09:22 AM