[Radiance-general] scene 0 tutorial error

Cramer Silkworth silkworth at transsolar.com
Thu Jun 5 09:32:14 PDT 2008


Greg,

I deleted and re-entered the line, to no avail. I'm running Terminal on
Gnome on Ubuntu 8.04, and created & edited the rad file with vi. I
attached the session.

Thanks,
Cramer

-----Original Message-----
From: radiance-general-bounces at radiance-online.org
[mailto:radiance-general-bounces at radiance-online.org] On Behalf Of Greg
Ward
Sent: Thursday, June 05, 2008 12:09 PM
To: Radiance general discussion
Subject: Re: [Radiance-general] scene 0 tutorial error

Hi Cramer,

As far as I can tell, this is not a Radiance-generated error.  It  
must be coming from whatever shell you are using, and may indicate  
you have some hidden or illegal character in your file.  Try deleting  
and re-entering the line to see if that helps.

What operating system are you using?

-Greg

> From: "Cramer Silkworth" <silkworth at transsolar.com>
> Date: June 5, 2008 9:01:54 AM PDT
> Hi everyone,
>
> I'm new to Radiance and walking through the "Scene 0" tutorial from  
> Chapter 1 in the book (also http://radsite.lbl.gov/radiance/refer/ 
> tutorial.html). I only get up to adding the box for the room before  
> hitting my first error - rebuilding the octree with the !genbox  
> line gives this error:
>
> invalid command line argument:
>
> gray_paint
>
> I have the gray_paint material defined above in the rad file and  
> double-check everything. What's going on?
>
> Thanks,
>
> Cramer

_______________________________________________
Radiance-general mailing list
Radiance-general at radiance-online.org
http://www.radiance-online.org/mailman/listinfo/radiance-general


-------------- next part --------------
Script started on Thu Jun  5 12:26:46 2008
]0;cs at nyc-linux1:~/cramer_tests/test3cs at nyc-linux1:~/cramer_tests/test3$ ls
room.rad  test.oct  typescript
]0;cs at nyc-linux1:~/cramer_tests/test3cs at nyc-linux1:~/cramer_tests/test3$ vi room.ard   rad
[?1049h[?1h=[?12;25h[?12l[?25h[?25l"room.rad" 30L, 339C[>c# created from "Scene 0" tutorial in radiance book
# csilkworth june 5 2008

void light bright
0
0
3 100 100 100

void plastic red_plastic
0
0
5 .7 .05 .05 .05 .05

void plastic gray_paint
0
0
5 .5 .5 .5 0 0

bright sphere fixture
0
0
4 2 1 1.5 .1251,1Top]2;room.rad (~/cramer_tests/test3) - VIM]1;room.rad[?12l[?25hP+q436f\P+q6b75\P+q6b64\P+q6b72\P+q6b6c\P+q2332\P+q2334\P+q2569\P+q2a37\P+q6b31\[?25l2[?12l[?25h[?25l3,0-1[?12l[?25h[?25l4,1  [?12l[?25h[?25l5[?12l[?25h[?25l6[?12l[?25h[?25l7[?12l[?25h[?25l8,0-1[?12l[?25h[?25l9,1  [?12l[?25h[?25l10,1[?12l[?25h[?25l1[?12l[?25h[?25l2[?12l[?25h[?25l3,0-1[?12l[?25h[?25l4,1  [?12l[?25h[?25l5[?12l[?25h[?25l6[?12l[?25h[?25l7[?12l[?25h[?25l8,0-1[?12l[?25h[?25l9,1  [?12l[?25h[?25l20[?12l[?25h[?25l1[?12l[?25h[?25l2[?12l[?25h[?25l3,0-1[?12l[?25h[?25l
red_plastic sphere ball24,114%[?12l[?25h[?25l
025,128%[?12l[?25h[?25l
026,142%[?12l[?25h[?25l
4 .7 1.125 .625 .12527,157%[?12l[?25h[?25l
28,0-171%[?12l[?25h[?25l
!genbox gray_paint room 3 2 1.75 -i29,185%[?12l[?25h[?25l
30,0-1Bot[?12l[?25h[?25l:[?12l[?25hq
[?25l]2;cs at nyc-linux1:~/cramer_tests/test3]1;cs at nyc-linux1:~/cramer_tests/test3[?1l>[?12l[?25h[?1049l]0;cs at nyc-linux1:~/cramer_tests/test3cs at nyc-linux1:~/cramer_tests/test3$ oconv room.rad > test.oct
                         :-)  G  R  O  M  A  C  S  (-:

               Go Rough, Oppose Many Angry Chinese Serial killers

                            :-)  VERSION 3.3.3  (-:


      Written by David van der Spoel, Erik Lindahl, Berk Hess, and others.
       Copyright (c) 1991-2000, University of Groningen, The Netherlands.
             Copyright (c) 2001-2008, The GROMACS development team,
            check out http://www.gromacs.org for more information.

         This program is free software; you can redistribute it and/or
          modify it under the terms of the GNU General Public License
         as published by the Free Software Foundation; either version 2
             of the License, or (at your option) any later version.

                                :-)  genbox  (-:

Option     Filename  Type         Description
------------------------------------------------------------
 -cp    protein.gro  Input, Opt.  Generic structure: gro g96 pdb tpr tpb tpa
                                   xml
 -cs     spc216.gro  Input, Opt., Lib. Generic structure: gro g96 pdb tpr tpb
                                   tpa xml
 -ci     insert.gro  Input, Opt.  Generic structure: gro g96 pdb tpr tpb tpa
                                   xml
  -o        out.gro  Output       Generic structure: gro g96 pdb xml
  -p      topol.top  In/Out, Opt. Topology file

Option       Type   Value   Description
------------------------------------------------------
-[no]h       bool   no      Print help info and quit
-[no]X       bool   no      Use dialog box GUI to edit command line options
-nice        int    19      Set the nicelevel
-box         vector 0 0 0   box size
-nmol        int    0       no of extra molecules to insert
-try         int    10      try inserting -nmol*-try times
-seed        int    1997    random generator seed
-vdwd        real   0.105   default vdwaals distance
-shell       real   0       thickness of optional water layer around solute
-maxsol      int    0       maximum number of solvent molecules to add if
                            they fit in the box. If zero (default) this is
                            ignored
-[no]vel     bool   no      keep velocities from input solute and solvent


-------------------------------------------------------
Program genbox, VERSION 3.3.3
Source code file: ../../../../src/gmxlib/statutil.c, line: 797

Invalid command line argument:
gray_paint
-------------------------------------------------------

"If I Wanted You to Understand This, I Would Explain it Better" (J. Cruijff)

oconv: warning - (!genbox gray_paint room 3 2 1.75 -i): empty file
]0;cs at nyc-linux1:~/cramer_tests/test3cs at nyc-linux1:~/cramer_tests/test3$ exit
exit

Script done on Thu Jun  5 12:27:18 2008


More information about the Radiance-general mailing list