help-mcsim
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

installing MCsim


From: Jason Boyd
Subject: installing MCsim
Date: Sun, 09 Jun 2002 19:09:59 GMT

Dear Sirs:

I recently dl'd MCsim to my Mac from your site.  I am 
using Mac OS 10.1.5 (although I dl'd MCsim when I had 
Mac OS 10.1.4, if it makes any difference).  After figuring 
out that I needed to make aliases point to my compiler 
(Mac 10 compiler called cc and language c++ instead 
of gcc and g++) I finally used the make utility on the 
makefile (I will include the terminal image of that 
instance at the end of this mail).  When using 'make 
install' I have a problem.  I'm new to unix programming 
but have poked around in my system and have found 
no 'install' option to my make utility.  However there is 
an 'install' utility which seems to copy a file from one 
place to the next;  for some reason this doesn't sound 
like the install utility that I need;  I tried it but when I tried 
to invoke the mod utility at the terminal (and by double 
clicking in the Aqua gui) it reported an error.  
Nonetheless, I'd like to use MCsim on a pbpk model 
I've worked on and need your help.

Included below is the history of the terminal wherein I 
'made' the makefile and also the history of my (mis-
)uses of 'install'.  Incidentally, after it didn't work, I 
thought I would cat mod just to see if there was 
anything there:  I have included in this email the output 
of cat mod in case you may find it useful.  Any help you 
may have would be extremely appreciated!! 

Thanks in advance for your help,

Jason L. Boyd
PhD Candidate
Interdisciplinary Program in Toxicology
Department of Pharmaceutical and Biomedical 
Sciences, College of Pharmacy
University of Georgia
706-542-5254

enc1:make history:
<note that the MCsim dl'd as the Unix variant, the html 
manual for mcsim said I would have different directory 
structures than these>
[localhost:/Users/Shared] ugajlb% cd /Users/Shared/
mcsim
[localhost:/Users/Shared/mcsim] ugajlb% ls
doc mod sim
[localhost:/Users/Shared/mcsim] ugajlb% cd /Users/
Shared/mcsim/mod
[localhost:Shared/mcsim/mod] ugajlb% ls
1cpt.model   lex.h        lexfn.h      modd.c       modiface.h   
strutil.c
Makefile     lexerr.c     linear.model model.c      modo.c       
strutil.h
hungtype.h   lexerr.h     mod.c        modelu.h     
perc.model
lex.c        lexfn.c      mod.h        modi.c       ref_model.c
[localhost:Shared/mcsim/mod] ugajlb% make
gcc -O  -DNDEBUG -I . -Wall -DMODGEN   -c -o lex.o 
lex.c
lex.c: In function `GetStatement':
lex.c:672: warning: suggest explicit braces to avoid 
ambiguous `else'
gcc -O  -DNDEBUG -I . -Wall -DMODGEN   -c -o lexerr.o 
lexerr.c
lexerr.c: In function `ReportError':
lexerr.c:53: warning: suggest explicit braces to avoid 
ambiguous `else'
gcc -O  -DNDEBUG -I . -Wall -DMODGEN   -c -o lexfn.o 
lexfn.c
gcc -O  -DNDEBUG -I . -Wall -DMODGEN   -c -o mod.o 
mod.c
gcc -O  -DNDEBUG -I . -Wall -DMODGEN   -c -o modd.o 
modd.c
gcc -O  -DNDEBUG -I . -Wall -DMODGEN   -c -o modi.o 
modi.c
gcc -O  -DNDEBUG -I . -Wall -DMODGEN   -c -o modo.o 
modo.c
modo.c: In function `ForAllVar':
modo.c:81: warning: suggest explicit braces to avoid 
ambiguous `else'
gcc -O  -DNDEBUG -I . -Wall -DMODGEN   -c -o strutil.o 
strutil.c
Linking mod...

* Created executable "mod".
***************************************

enc2:installing mod history:
[localhost:Shared/mcsim/mod] ugajlb% make install 
mod
make: *** No rule to make target `install'.  Stop.
[localhost:Shared/mcsim/mod] ugajlb% .
/Users/Shared/mcsim/mod
[localhost:Shared/mcsim/mod] ugajlb% make install
make: *** No rule to make target `install'.  Stop.
[localhost:Shared/mcsim/mod] ugajlb% sudo install 
mod
Password:
usage: install [-cps] [-f flags] [-m mode] [-o owner] [-g 
group] [-l linkflags] [-S stripflags] file1 file2
       install [-cps] [-f flags] [-m mode] [-o owner] [-g 
group] [-l linkflags] [-S stripflags] file1 ... fileN directory
       install -pd [-m mode] [-o owner] [-g group] directory 
...
[localhost:Shared/mcsim/mod] ugajlb% ls
1cpt.model   lexerr.c     linear.model modd.o       modo.c       
strutil.o
Makefile     lexerr.h     mod          model.c      modo.o
hungtype.h   lexerr.o     mod.c        modelu.h     
perc.model
lex.c        lexfn.c      mod.h        modi.c       ref_model.c
lex.h        lexfn.h      mod.o        modi.o       strutil.c
lex.o        lexfn.o      modd.c       modiface.h   strutil.h

*****************************************

enc3:cat mod output:
[localhost:Shared/mcsim/sim] ugajlb% cat mod
?
?8__PAGEZERO__TEXT??__text__TEXT$Q¬?__cstrin
g__TEXTu??e?__picsymbol_stub__TEXT?X¨|
X$__DATA??__data__DATA??__la_symbol_ptr__DAT
A?h?__nl_symbol_ptr__DATA?h4?h4__dyld__DATA??
??__const__DATA?¸h?¸__bss__DATA? 
__common__DATA?0X8__LINKEDIT  ??
                                                                            
/usr/lib/dyld
         4<9?/usr/lib/libSystem.B.dylib???4     h
                                                 Pr? ?0A?° °($|:
                                                                
x8!?8??!?8?;cW{:|
??H    ??¿???!??|||?#x|?+xH???k¨=???¬=??©k°=
??)n?),  A?})?},KxN?!=??)n?),   A?})?},KxN?!Hg?M=
??)k¸?  ,A?})?},KxN?!=??)k??    ,A????x})?},KxN?!<
8cQh8?8H??a8,AHg)=??)n8?    ?|      x,address@hidden|
®,A?(|  X®,/@}IZ9k?>|   X®,@??A?8
=?H
Hfm????!??<8cO°8?8H}?8|@??=`¿??|A??)| @@?|    
address@hidden|x???x¥?
                                  xN?!?X8!P???N? =`?k??,?AN? 
8 N8?`?8`8D8`;8D?=??
  ??|   ?=?a?N? =`?k? }i?N? ?¿???!???,A?4?,    A??     
,@?$?<, A? 
                                                                        p       
A?
  ,@?<?x?|HfQ??
                @???|???|8 HeuH
                               8??X8!P?»???¿¡??!??; |
~A????,A?t?~,A?h8?8 HeU|cA? |}?x???H8?> 
                        p        A?
                                   ; ??x8?`??<
¿8¥Oh8?H?x?X8!P?»¡??¿???!??|?#x;?|address@hidden
     8`H|8?
           
8???£??8?N?de?~,A?(8`Hd??~,A??xK?xH?x8?`?
?¥??H9??X8!P?»??8?????
                                                                               
?|c8A??,M? 
?
           ?
            8?N? address@hidden|x,A? <
8cM??tHc??,@??8cM?c±?X8!P?»¿??¿???!??; |
address@hidden
 8`H?   ,@??,A?
               ?xK???h??       ?8?     |tT`/A?Hc?T`??<T`:9)4|  
.T????8,address@hidden; ?8,address@hidden,
@??>
    9)?>
        ?8      ?       ,@??,A??K??£?X8!P?»??9`|cM? ,M? ?,      
A?H?    ,"@?\?8|Y®9k??  |uA?,"A?,
                 ???    ,"@??9)?9k?|Y®N? ?¿a??!??|?#x; |
~A???A??       |tT`/A?Hb       T`?H =??)g?)T`:9)4|     
.T?,@???        ,address@hidden  |tT`/A?Ha©p`H?;T`:9)4|  
.p|?????        ,address@hidden,??        |?)?;?? ,@??|
?h8!`?»a????B???8?9?8?|cA?d,A?\,A?T9????  |
uA?4A??9)hU
           :|
             H.} J})?N?  ??¨4T??
.A?|,
     @?,
+A?
   ,
address@hidden
   9?H???       |tT     /@? =??)e?:9)4| .T·?,A?H8?8?9H8,
address@hidden
   9H(,
eA??,
EA?xU@/A???,A?,
eA?T,
EA?LUI/@? =??)e?:9)4|   .T·?,A?
                               9H´,@?¨?ÀH 9H?8?,
+A?
   ,
address@hidden
   9H|UI/@? =??)e?:9)4| .T·?,A?
                               9HD8?H4U@/@? =??)e?:9)4| 
.T·?,@9A???     |9®9)?8???      |
uA?,@??|9®??N? ?¿??!??|?#x|?+x;`?||
~A?x,A?p,A?h,A?\=??)cX;     4;  ;@;`?xK?A?,?,      A??     
,@??>,  A 
                                p        @??    |t?8,address@hidden;`?xHmH?8|
tT`/A?H]µT`?H =??)cT?)T`:9)4|        
.T?,@??8,address@hidden|tT     /@?T:|.T·?,@?$?8|
t,.A?,+A?
  ,address@hidden|t,+A?
                       ,address@hidden    @??8??=?<
H?8,"@?8??x???¸??8<8ca@|?tH\?,A?|?<??       
?9)??   ?8|t,=A?
                        address@hidden|t,!A?,<A?,>A?
                                           ,address@hidden       ?9)??]H$???    
 
?9)??],??8!`?»??¿a??!??|||?#x|?+x8¡8K?8©9?&
W???9)address@hidden:???|©.f?H???h8!`?»a??¿¿??!?A?x??     
,@?
           ?xK?        |t9)?,
A? ?    ,@??K??>
                9)?>
                    ??  ,@?
                           ?xK?X8!P?»¿??¿¿??!?A?$??    
,@??xK??`H??i|ct?X8!P?»¿??¿a??!?|?#x|?+
address@hidden;??xd?8¡8K?x?h8!`?»a??¿¡??!?|?+
x8¡8K??8A?
                                                                      , @??|t|
?8`?X8!P?»¡??¿a??!?|?#x|?+
xK? A???c?8??x8?H?£?h8!`?»a??¿¿??!?A?TH$,
@??>
    9)?>
        ?9)??xK?yA? ,;@??A??9)??X8!P?»¿??¿a??!??|
?#x;?|~A?,?
                                                              ?xK??,   A??    
,@?´?>,  A?¸ 
                p        @?¬H???        ,A?t?xK?; ???x,??     |
t9)?;?,
@?D?>
     9)?>
         address@hidden 
8)?9c?8?8¡88?H?x?h8!`?»??¿A??!??|||?#x|
?x8?8W? W?bW??|?+y@;¡8,A?X,A?<8c?HT?@<8c? 
HT?,A?$?<} Kx9)?</?O?&T?A?`?,@??,A?<8c?(??
    HTaH4,A?,8?:8a<??8 ?d<8c?4HT-,A(A??,A?X(A?<
,A?0(A?,A?¬,AH?A?,A??H?A?T(A?,A?,A?H¸,A?h(A?x,A?
LH?,A??A?D,A??(A?,A?`,A?dHh,    A?|(    A?\
,A??HL,A??(A?,A??,A??H(A??A?,A? H
            ,   A?¨<address@hidden<8c?tHl<
8c??H`??<8c??|?tHR?H`<8c??<????<8c???t|
¥tHR?H4<address@hidden,A?<8c@ D?HRU<
address@hidden@address@hidden@address@hidden
address@hidden<address@hidden<8cA8H?<8cA`??ºHQ?<
8cA?H<8cA¬H
                                                       <8cA??HQ¡HT<
8cB??E?HQ?H<<8cB(H<address@hidden
?xHPQ?h8!`?»A??¿¡??!??|
}??;?;???,address@hidden 
address@hidden<8???C
                                                                            
?#?C?#?C?# 
?C$?#(?C,address@hidden 
?¿a??!??|?#x|»+x; |~A???|tT`/A?HP5T`?H =
??)U4?)T`:9)4|    .T?,@??,address@hidden<<?cU??
                                           
??{,@?,; 8`8??x8?K??xHP)?£?h8!`?»a??¿???!?
?|||?#x; 9 address@hidden :}K.9),      
@address@hidden
K?8?,@?8a58?(8?PH8a58? 8?LK?8,@????<¿8¥<
?K?x?h8!`?»???¿!??!?|?#x|º+x|?x; ;?|
address@hidden,A?c??? ,address@hidden|9®;?|
address@hidden
                                          ,A???h8!`?»!??¿a??!??|||?#x|
?+x8 (address@hidden@?Pc?HN=?}T;?,@;?,A? 
???<¿8¥;df?K?}TTc8HM!?}\,A?4?}TTc8HM      
?}`,A??}TTc8HL??d,@? ???`??<
¿8¥;x8?K?xd?8 ,K?xd???T??dK?x??d?8 ,address@hidden
??d???T??\K?x??d?8 ,address@hidden<address@hidden 
??d?8 )K?x,A?<?cR?c°<?8?;?HM |
`?h8!`?»a??¿A??!??|?#x|?+x;¡8;@|{A?
                       ,@?
                          8`H\?{=??
                                  ?     Q ,
A?c???ESxK}?£??T8¡TK?T(
                          A?D=?9)?Uk:|
                                      H.} J})?N? $@@address@hidden<
¿8¥9?8?K?°?xK?T,@?|
;?T???,A?,,@?H,@?£????xK?xH\8?c?8?<
¿8¥9?8?TK?8£??xK?xH$; ??8aTHK?0??;@C???8!
??»A??¿¡??!??|}|?#x<?cOP8c°<?8?8THK<
?cOP8c°<?8?8tHJ??A?$8a8??HU8a8???xH0H <
8c8?HI?<
8c8?I?8`?x8!p; ;?T??xHE,@address@hidden@?0?A?
                                                     ,@? 8aT<
?8?8¸HHm,@; ,@?x???`??8¡T8?K?\?T|t,!A?
                    ,=
@?D;?T?xHHa,@?0????xH???8¡T<
?8??K?8,A ?x?!@, A??    ,@??,    A? 
                p        A????8!??»A??¿A??!??|?#x|»+x|?x||
A?d,A?\8`HF-|~A?0£?Y?~c?HM?~???
            ??H 8`8?`??¥??8?$K?h8!`?»A??¿¿??!??|
~A?D?xHG     8cHE?|cA??xHF$8`8?`???x<
?8?°K??X8!P?»¿??¿¡??!?|~A?(,A? 
?~,AHF©£???X8!P?»¡??¿???!?|?#x|?+x??
                                                                              
,address@hidden|?#x??
                                    ,A?£??HE?,@???X8!P?»¡???!?|
cA?T&address@hidden ?¿¿??!?K?yA?T?c
               ,
                A?4?|
x|      @? ;??k
               ,
                A??
                  |PA??A?|?8`?X8!P?»¿??¿a??!??|}|?#x|?x|
??}, A?L( A?,A?$,A?4H°,0A?(,@A??H?8|?+
xe?8?K???,@?d, @?<8`hHB??x£?d??xK?A?
                                                      ??HT8?HH=?9)G?<8|?+
xe?K?(£??A8?K?£??8?K?h8!`?»a??¿A??!??|||
?#x|º+x|?x?x,@;????
                                                         ?<|    P,Ac?,
                                                                      0A?x(
                                                                           0A?,,
A?h(
    A?,
       A?DH?,
              A?dHx,
                    PA?@(
                         PA?,
                             @A?HH\8`?|
                                       A?HH8d?8 ?xK?
                                                      
d?E??xK????Ae?<?8?xK?
??h8!`?»A??¿!??!??|{|?#x|?+x|?x?x,@;??»?
                                          ;|    
P,Ac?,@address@hidden@?8}D?%??
xK?c?8?AE?<?8ı?K?
                           ??h8!`?»!??¿!??!??|{|?#x|?+x|
?x?x,@?
                                                                 ;?c??»?
                                                                        ;|     
P,Ac?,@address@hidden@?8}D?%??
xK?c?8?AE?<?8??K?
                                                          
address@hidden<?8???X8!P???N? 
?¿??!??|{|º+x|?x??|?#yA??,A?x????yA?T&;?, 
@??,A?c?D?K?A?,?<8       ?A?=?9)?T
                 :|
                   H.} J})?N? address@hidden 
address@hidden,A??c?8?A
¥??8???lc???E??xK?Tc???E??xK?<
,address@hidden(K?h8?B??|?#x|
º+x; |}A???A??,A??A???c?8?8K?x?>,  @A?,A?(?8|
                                                          
address@hidden,@? 
,A??,address@hidden@?HX,@??A??;?£??88 =
K?A??£??88 {K?A?pH£??8???x;?£??88 8?K?yA
address@hidden<K?8,}A?08}?9; }H 8{?9; {H8=?9; =
,address@hidden,8{?9£??`??8¡8<
?8?8K?@,A?L,A?8,A?$,@address@hidden
address@hidden @address@hidden
address@hidden
?9£??8¡88?K?X£?D?K?xd?E????xd?8 ;K?@
? 8;?£??e?8?K?A?
                                                           
£??x8!p?»!??¿¡??!??|~|address@hidden 8a88?`??<
address@hidden    
,@?8a8K??a88?T8¡TK?T(
                                                                      A?
                                                                        
=?9)?Uk:|
 H.} J})?N? ????Jx1K??)9?x<?8?(h?©H4?£?d?<
¿?¥9<8?8?K??)9??x<?8?(|?©H4Q£?d?<¿?¥9<
8?8?K??)9?<?8?(??©H4£?d?<¿?¥9<8?8?K?x<
?8?(¨H3?h8!`?»a??¿¡??!??|}<?8?&?3±£??8?&
?3¡£??8?&
?3?£??8?'H3?£??8?'H3q£??8?',H3a£??8?'DH3
Q?X8!P?»¡??¿¡??!??|}|?#yA?p   pA?<?8?&
?3£??8?&??H2??X8!P?»¡??¿¡??!??|}|?#x?=
??HA?d<?8?&hH2?£??8?&t??H2?,A?$p?£??8?&|
H2]H£??8?&?H2I8`8`?X8!P?»¡??¿a??!??|~|?#x<
?8?%?1??8?&H1????<¿?¥5 8?8?K?xd?<
¿?¥5 8?8?K?x<?8?&HH1¥?xd?<¿?¥5 8?8?K?x<
?8?&XH1y?xd?<¿?¥5 8?8?K?x<?8?&lH1M?x<
?8?&?H1=<¿?x<?8?&¥5TH1%?x<?8?&?1<¿?x<
?8?'?¥5X<?8?H0?x<?8?'8H0???8?'LH0??x<
?8?'lH0???)6H?x<?8?'??©H0©=??)6P?x<
?8?'address@hidden<?8?'´??H0q?x<?8?( H/
address@hidden<?8?(4<¿8¥5lH/??x<?8?&XH/??xd?<
¿?¥5?8?8?K?h8!`?»a?????!??|i|?#x|address@hidden,       A??    
T&8?, A?4( A?,A?8H?,0A?,8`?|A?XHp<8c4P<
?8?%°H4,
                                                                       A?<8c4P<
?8?%?e[xH0<8c4P<?8?%?©H/?8<8c4P<
?8?%??H/?<8c4P<x<¿?¥0??8?K?x8?8 K?x<
?8?$tH,u?X8!P?»???¿a??!??|||?#x<
?;a8c?8?0°8 hH-£??8 8?K?x?}=??)0||
                                                            HA?,A?T&(@A?, 
@address@hidden)/°?T:???8?#|?x|?.H+
©???8?#??xH+????8?#¬?xH+
????8?#??x? ?? ??H+Y???8?#??x?? ?? ??H+
1???8?#??? ? ?? ??H+ ???8?#?=(? ?? ??H*
address@hidden
¡???8?$8?x??HH*????8?$L?x??LH*
q???8?$`?x??PH*Y???8?$x?x??DH*
A???8?$??xH*-???8?$ ?xH*H,??,@?
                                      <
?8?????8?$´?xH)?8`??!?»a??¿???!??|}|?#x<
?8?",H)¡£??8?"<
H)?£??8?"tH)?£??8?"?H)q£??8?"?)a£??8?"?)Q
£???¿?¥-\8?8?K?x<
?8?#tH)%£??8?#¬H)?X8!P?»???¿A??!??|{|?#x|?+x|
?x£??8K?yA??,@??8?<;?c?8?8¡<???A?d=??)-
$?i???yA?HT&,@?8?x8?<¿8¥"??`?K?xC?<
?8?PH(9H(,8 A¥?c?8?`??8?K?=??)-
address@hidden,A?
              ,@?0£??8?¬H'address@hidden<?8?#H'?H¨C?<
?8?P¥?'¡H??x<?8?#
                                                                   8 8?K?xC?<
?8?PH'q,A?\T&, @?L,@?C?<?8?#H'AH0C?<?8?# 
H'-Hc?8?`??¥??K?h8!`?»A??¿???!??|}|?#x|?+
x;?88`?x|xK?x8?T8¡TK?T,@?8?8?K?x<
?8?8H"??X8!P?»???¿a??!??|}|?#x|»+x<
?8?l£???¿?¥&8?8?K?x<?8??!??d?<¿?¥8?8?K?x<
?8??!µ?h8!`?»a??¿???!??|~|?#x|address@hidden<8cH 
????x??¿?¥%,8?8?K?x<?8?È ±
?X8!P?»???B?}????=,?)address@hidden<?8?´H!
                                                     8`N? ?%|Kx9)?%8`N? 
?¿???!??|~?88`?x<¿?¥#??8?K???$p?|8`?x<
¿?¥#??8?K???$x?}8`?x<¿?¥#??8?K??)$|?i8`?x<
¿?¥#??8?K??)$??i?|?|
                 =??)$h?        ,
                                @?8`8?  <¿8¥?8?8K??)$x? @?8`8?  
<¿8¥?8?8K??)$|address@hidden   <¿8¥?8?8K??k$?=??)$h?   
?8?+|   @?8`8?  <¿8¥?8?8K??)$p? A?D=??)$|?     
A?0=??)$x?       A?=??)$??)?8|   @?8`8?`??8 8?K??¡<
8`?x<¿?¥#??8?K??x<¿?¥#??8?K?<8`?x<
¿?¥#??8?K??k$p=??)$x?k?  }k=??)$|?       }k?a<
8`?x<¿?¥#??8?K?X8!P?»???$?¥,      @?
          8`N? ?        @,A?
                            |*? @?      D,A?
                                            |*? D?      H,A?
                                                            |*? H?      L,A?
                                                                            
|*?L?       
P,A?
            |*? P8`N? ????!??|d=?k!8=??)!,?
                                             ?)|J?8=??)!4?)|J?88`<¿?¥ 
?8?8?K?X8!P???N? |cM? ?c}j[x,
                   M? ?

                       ,M? 9|
                             x?

??c}j[x?k
         ,
          @???
                N? ?¿¡??!??|?#x|£+x; ?=??) X|
HA?T,A?,address@hidden<
8`8???8?K?$??,@?8`8??8?K??X8!P?»¡?????!??|`|
?#x8`|x<¿?¥ 8?K??)¸? |A? 8`8?`??8 <?8???X8!P???N? 
?¿¿??!??|~H
?xH,@? |address@hidden<
?8??H)?X8!P?»¿??¿???!??|}|?#x|?+x,A??
                                                             ,@? ?,@?<
8c(H9H`8K?
 K?K?K?K??)?    ?KK??
                     address@hidden
                         ?H
                           <?8?8a8K?8<?8?hHi|~A?¸=???   ????    
??x8?8?K?xK?x?K?x?K?x?K?x???
            K?x???K?x???K?x???K?xH?8cl8?8H?? 
8`8?`??8¡8<address@hidden,8`?8`H,8`A?
        |address@hidden 
__dyld_mod_term_funcs__dyld_make_delayed_modu
le_initializer_callsThe kernel support for the dynamic 
linker is not present to run this program.
quoted-stringinvalid lexical typepunctuationnumber-or-
idnumberfloat-or-idfloating-pointinteger-or-
idintegeridentifiernull-type??Unexpected end of 
file.r%crvalue to assignmentWarning: Error: line %d: 
'%s'...
  Unknown error code %x: %sInitialization error.File not 
found "%s".Cannot open file "%s".Unexpected 
character '%c' in input file.Unexpected number %s in 
input file.Expected '%c' before '%c'.Expected <%s> 
before '%s''%s' used in invalid context.Duplicate 
declaration of model variable '%s'.Out of memory in 
%s() !'%s' redefined.Equation is too long.  Possibly 
missing terminator.Invalid state identifier 
'%s'.Undefined identifier '%s'.Input '%s' is not 
initialized.State variable '%s' has no dynamics.Too 
many %s declarations. Limit is %d.
Bad definition of experiment %d
Experiment %d has no outputs specified
Experiment %d has no output times specified
DifSub() returned error %ld: %s
in specification: %s
Insufficient points in file "%s"
Already defining other experiment %s
Max is less than min

%s
One or more fatal errors: Exiting...
NDosesPerExpPerRatePerDoseinput-specpositive-
integerGetNDosesSyntax: GetNDoses (nDoses, <n 
Magnitudes>, <n T0's>, <n Texposure's>)

Model Generator Program v4.0
Copyright (c) 1993-96.  Don Maszle, Frederic Bois.  All 
rights reserved.

Usage: %s  [input-file  [output-file]]
  Creates file 'model.c' according to input-file specs
NormalRandomUniformRandomlnGammalnDFNorma
lerfcCDFNormaltanhtansqrtsinhsinpowlog10logfmodfl
oorfabsexpcoshcosceilatan2atanasinacost.. in 
equation* .. creating new equation in AddEquation* .. 
defining equation in CopyString  Inputs and parameters 
cannot be assigned in Dynamics
* IgnoringJacobian equation handler not 
implementedNon-standard assignment in Dynamics 
section. Potential state discontinuity.
Only outputs can be defined in CalcOutputs{} 
section.Model variable initialized before 
declarationEnddtCalcOutputsJacobScaleDynamicsOut
putsInputsStates* Section must be delimited by curly 
braces.ReadModelIFN_NDOSESIFN_PEREXPIFN_PE
RRATEIFN_PERDOSEIFN_CONSTANTIFN_NULL /* ?? 
*/      %s     %s %s
:=->0.0 is an input function
/* %s
   
___________________________________________
________

   Model File:  %s

   Date:  %s
   Created by:  "%s-%s"
v4.0    -- a model preprocessor by Don Maszle
   Copyright (c) 1993-96.  Don Maszle, Frederic Bois.  All 
rights reserved.

  Model calculations for compartmental model:

    %d States:

    %d Outputs:

    %d Inputs:

    %d Parameters:
*/


#include <stdlib.h>
#include <stdio.h>
#include <math.h>
#include <string.h>
#include <float.h>
#include "modelu.h"
#include "random.h"
  double %s;
#define ID_%s   0x%04x
        0x0000

/*----- Indices to Global Variables */

/* Model variables: States and other outputs */

/* Inputs */

/* Parameters */

/*----- Global Variables */

  /* For export.  Keep track of who we are. */
char szModelDescFilename[] = "%s";
char szModelSourceFilename[] = __FILE__;
char szModelGenAndVersion[] = "%s-%s";

  /* Externs */
extern BOOL vbModelReinitd;

  /* Model Dimensions */
int vnStates    = %d;
int vnOutputs   = %d;
int vnModelVars = %d;
int vnInputs    = %d;
int vnParms     = %d;

  /* States and Outputs*/
double %s[%d];

  /* Inputs */
IFN %s[%d];
vrgInputs[ID_%s]%s[ID_%s]vrgModelVars[ID_%s]%s    
{"",  NULL,   0} /* End flag */
    {"%s",      (PVOID) &%s,    ID_%s | ID_%s},
OUTPUTSTATEINPUTPARM

/*----- Global Variable Map */
VMMAPSTRCT vrgvmGlo[] = {
};  /* vrgpvmGlo[] */

  %s.iType = %s;
  %s.dTStartPeriod = 0.0;
  %s.bOn  = FALSE;
  %s.dMag = %f;
  %s.dT0  = %f;
  %s.dTexp = %f;
  %s.dDecay  = %f;
  %s.dTper = %f;
  %s.hMag = %#x;
  %s.hT0  = %#x;
  %s.hTexp = %#x;
  %s.hDecay  = %#x;
  %s.hTper = %#x;
  %s.dVal  = 0.0;
  %s.nDoses = 0;
  %s = %s;

/* InitModel

   Should be called to initialize model variables at
   the beginning of experiment before reading
   variants from the simulation spec file.
*/

void InitModel()
{
/*-- Initialize things in the order that they appear in
     model definition file so that dependencies are
     handled correctly. */


  vbModelReinitd = TRUE;  /* Flag is initialized */
} /* InitModel */

rgDerivs(*pdTime)rgModelVars.dMag.dVal0.0;  /* NULL 
EQN!?? */ ;
Error: input '%s' used in Scale context.
  %s%s =   %s = No Dynamics{} equations.
/* Dynamics section */
void CalcDeriv (double  rgModelVars[],
   double  rgDerivs[],
   PDOUBLE pdTime)
{
  /* Local variables */
  CalcInputs (pdTime);    /* Get new input vals */
} /* CalcDeriv */
No Scale{} equations. Null function defined.
/* Model scaling */

void ScaleModel (void)
} /* ScaleModel */
/* Jacobian calculation */


void CalcJacob (double rgModelVars[], double *
rgdSave[], PDOUBLE pdTime)
} /* CalcJacob */
No CalcOutput{} equations. Null function defined.
/* Outputs calculation */

void CalcOutputs (double  rgModelVars[],
      double  rgDerivs[],
      PDOUBLE pdTime)
} /* CalcOutputs */
stateinputoutputparameterState equations 
missing.cError: No Dynamics, no outputs or no global 
variables defined
w
* Created model file '%s'
...in WriteModel ()?B?}h?=k??? }??9k N? ?B?}h?=
k????}??9k?N? ?B?}h?=k???`}??9k`N? ?B?}h?=
address@hidden@N? ?B?}h?=k??? }??9k N? ?B?}h?=
k???}??9kN? ?B?}h?=k?????9k? ?B?}h?=
k??????9k?? ?B?}h?=k??? }??9k N? ?B?}h?=
k????}??9k?N? ?B?}h?=k???`}??9k`N? ?B?}h?=
address@hidden@N? ?B?}h?=k??? }??9k N? ?B?}h?=
k???}??9kN? ?B?}h?=k?????9k? ?B?}h?=
k??????9k?? ?B?}h?=k??? }??9k N? ?B?}h?=
k????}??9k?N? ?B?}h?=k???`}??9k`N? ?B?}h?=
address@hidden@N? ?B?}h?=k??? }??9k N? ?B?}h?=
k???}??9kN? ?B?}h?=k?????9k? ?B?}h?=
k??????9k?? ?B?}h?=k??? }??9k N? ?B?}h?=
k????}??9k?N? 
u??8?0v?v?v?v?v°v?v?v?v?vhvhvhvhvhvhvhvXu?+-/*()><
?:,!={z?z??z?u?}
                                               }|?|?|?|?|?|?|?|?|?|¸|´|°|¨| 
|?|?|
?|?|t|l|\|Lu?0.0; /* Redefined later */
~?~?~?~?~?~¸~¬~¨~?du??vrgModelVarsvrgInputsh
address@hidden(model.cW?W¸[?p?m¸_?rh¬a??&?&?&?&
?&?&?&?&?&?&?&?&?&?&?&?&?&?&?&?&?&?&?&?&
?&?&??t??????x?p?|&?6qHHrtIH?G?YW??O?=
,?L?J?I?$M?4L
                                                          
DN?3?1??4X¬'t¸)0gV?#<DÏ6¨?+P.><Al?Q0?P¸H? S?r^
??,|?3<?3?4?*?TH?_I{m¸?n(,`<¨?QxkC??s8((??up?
                                                                     ?:2?D/
                                                                           M6 [&
?Q ?T??8ªq?w?H\l2<y)?»gX?eT?DH?r??i??k?l´\
,%X?2Z|Ad?¸s¨Q[_h¬q[??a???W¸¢_??j?`??
                                                                               ?
?0?
?4??
?8??<
address@hidden
?DK
?H^
?Lx
?P?
?T°
?X?
?\?
   ?`
?d1
?hMrCx
?l

?p
?!
?,
?5
??
;QZnsyz??ª???!????????????¢???? ¡?????£?????
????????¢???? ¡?????£????????x?{|
ywz_NXArgc_NXArgv___progname__dyld_func_lookup
__dyld_init_check__start_environdyld_stub_binding_h
elperstart___keymgr_dwarf2_register_sections__carb
on_init__cplus_init__cthread_init_routine__mh_execut
e_header__objcInit_atexit_catch_exception_raise_catc
h_exception_raise_state_catch_exception_raise_state
_identity_clock_alarm_reply_do_mach_notify_dead_na
me_do_mach_notify_no_senders_do_mach_notify_po
rt_deleted_do_mach_notify_send_once_do_seqnos_
mach_notify_dead_name_do_seqnos_mach_notify_n
o_senders_do_seqnos_mach_notify_port_deleted_do
_seqnos_mach_notify_send_once_errno_exit_mach_i
nit_routine_main_receive_samples_EGetPunct_ENext
Lex_EatStatement_FillBuffer_FlushBuffer_GetFuncArg
s_GetIdentifier_GetNumber_GetOptPunct_GetPunct_G
etStatement_GetString_InitBuffer_MakeStringBuffer_Ne
xtChar_NextLex_NextListItem_PreventLexSplit_SkipCo
mment_SkipWhitespace_vrgszLexTypes_ReportError_
_CurrentRuneLocale__DefaultRuneLocale____runety
pe_fopen_fread_fseek_ftell_malloc_printf_strchr_strnc
py_DefDepParm_GetFnType_GetInputArgs_GetInputFn
_GetNDoses_GetNNumbers_InitIFN_vrgifmMap_Calc
ulateVarHandle_MyStrcmp___sF_atof_atoi_fprintf_Rea
dModel_WriteModel_AddEquation_CopyString_Declare
ModelVar_DefineCalcOutEqn_DefineDynamicsEqn_D
efineGlobalVar_DefineJacobEqn_DefineScaleEqn_Def
ineVariable_GetVarPTR_GetVarType_IsMathFunc_Set
Equation_SetVarType_VerifyEqn_vrgszMathFuncs_vsz
HasInitializer_GetKeywordCode_free_strcmp_strcpy_s
trlen_GetKeyword_InitInfo_ProcessWord_vrgkmKeywor
dMap_fclose_AdjustOneVar_AdjustVarHandles_Assert
ExistsEqn_CountOneDecl_ForAllVar_GetName_Index
OneVar_IndexVariables_MakeCodeFilename_Reverse
Pointers_TranslateEquation_TranslateID_VerifyEqns_
WriteCalcDeriv_WriteCalcJacob_WriteCalcOutputs_Wri
teDecls_WriteHeader_WriteIncludes_WriteInitModel_W
riteOneDecl_WriteOneEquation_WriteOneIndexDefine_
WriteOneInit_WriteOneName_WriteOneVMEntry_Write
Scale_WriteVarMap_vszIFNTypes_ctime_localtime_me
mcpy_sprintf_strcat_time_vnInputs_vnModelVars_vnO
utputs_vnParms_vnStates_vpvmGloVarList_pointer_to
_objcInit_pointer_to_carbon_init__call_mod_init_funcs
dyld_lazy_symbol_binding_entry_pointerror_message
dyld_func_lookup_pointer_vszEqnPunct.45_vpvmGlo_v
szModelFilename_vszModGenName_vszModelArrayNa
me_vszInputArrayName_vszVarName.42_vszFilename
Default.103[localhost:Shared/mcsim/sim] ugajlb% 






reply via email to

[Prev in Thread] Current Thread [Next in Thread]