Bill Harris | 22 Sep 04:35
Favicon

MCSim and hysteresis?

Has anyone here used MCSim to model a hysteresis process?  Think of the
energy used by a building as a control system (thermostat) turns on and
off.  Instead of a 0.25-0.5 degree C hysteresis band, as you might see
in a home system, think of a significant band -- perhaps a 5-10 degree
hysteresis band.  That's not quite the problem, but I hope it makes it
understandable. 

What I'd want is something like two linear (or perhaps nonlinear)
equations describing energy use per unit time as a function of outdoor
air temperature, one for each state of the system (there could be more
than two states, of course).  The model would need to estimate the
temperatures at which the system switched between the states, and I'd
want to be able to feed it a new path of temperatures and have it
calculate the distribution of predicted energy use per unit time for
that path.

I've looked at hidden Markov models, but I'm not sure the assumptions of
HMMs quite fit, and I've not made it work (R's depmixS4, for example).
It does nicely separate the observations and transitions, though.

I've looked at R's cusp, but I don't yet understand how to model the
observations and their uncertainty.

I've considered relearning Kalman filtering but haven't yet.

Any ideas on how to set up the model in MCSim?  Any examples?

Thanks,

Bill
(Continue reading)

Binnian Wei | 21 Jul 16:23
Picon

problems: make[1]: ***[libmcsim.a] error 1

Hi Sir,

 

I am trying to install McSim to run it under Windows 7 system according to the instructions as follows:
http://www.gnu.org/s/mcsim/WindowsInstall.html

 

 

I did one step by step until 11. Type 'make' at the command prompt. When I type ‘make’, it reported that :

 

make[1]: *** [libmcsim.a] Error 1

make[1]: leaving directory ‘/cygdrive/c/mcsim/mcsim/sim’

make: [one] Error 2 ,ignored.

 

 

Would you help me to see what the problem is ?

 

 

I have another question is that I have full understood this paragraph:” libgsl: Get a binary distribution for Windows. This installation has been tested with the GnuWin32 distribution of libgsl version 1.8, available at http://gnuwin32.sourceforge.net as of 15 April 2008. There are two choices for download: an installer that installs all of the GnuWin32 packages in a common tree, or zip files for the 'bin' files (some sample executables and the dlls) and the 'lib' files (files for developing software). If you take the latter choice (the two zip files), it would be convenient to extract them into the Rtools/mingw tree, as in that case no additional configuration of Windows is required. Alternatively, you need to modify the Makefiles so the path to the dynamic library (.dll), library (.a), and include files (.h) are available to the MinGW compiler.”

 

 

Would you also help me on this? Really appreciated.

 

 

 

Bin

 

 

 

_______________________________________________
Help-mcsim mailing list
Help-mcsim <at> gnu.org
https://lists.gnu.org/mailman/listinfo/help-mcsim
Binnian Wei | 21 Jul 19:50
Picon

problems: make[1]: ***[libmcsim.a] error 1

Hello,

 

I am trying to install McSim to run it under Windows 7 system according to the instructions as follows:
http://www.gnu.org/s/mcsim/WindowsInstall.html

 

 

I did one step by step until 11. Type 'make' at the command prompt. When I type ‘make’, it reported that :

 

make[1]: *** [libmcsim.a] Error 1

make[1]: leaving directory ‘/cygdrive/c/mcsim/mcsim/sim’

make: [one] Error 2 ,ignored.

 

 

Would you help me to see what the problem is ?

 

 

I have another question is that I have full understood this paragraph:” libgsl: Get a binary distribution for Windows. This installation has been tested with the GnuWin32 distribution of libgsl version 1.8, available at http://gnuwin32.sourceforge.net as of 15 April 2008. There are two choices for download: an installer that installs all of the GnuWin32 packages in a common tree, or zip files for the 'bin' files (some sample executables and the dlls) and the 'lib' files (files for developing software). If you take the latter choice (the two zip files), it would be convenient to extract them into the Rtools/mingw tree, as in that case no additional configuration of Windows is required. Alternatively, you need to modify the Makefiles so the path to the dynamic library (.dll), library (.a), and include files (.h) are available to the MinGW compiler.”

 

 

Would you also help me on this?    Really appreciated.

 

 

 

Bin

 

 

 

_______________________________________________
Help-mcsim mailing list
Help-mcsim <at> gnu.org
https://lists.gnu.org/mailman/listinfo/help-mcsim
Frederic BOIS | 20 Oct 13:42
Picon
Favicon

Rép. : MCSim questions

Hi Rudy,

I cc this to the help mcsim list, as it is of general interest...

Yes, the easy way to do this is to us the SetPoint() simulations. You can actually take an MCMC output file
straight as a SetPoint input parameters' file.
You can also create such a file yourself to have a grid sampling, or a specific need (like sensitivity
analysis: you can use Simlab (from A. Saltelli) to generate
parameter vectors and then input them in MCSim to run your model, the output can them be further processed by Simlab).

Frederic

>>> "Gunawan, Rudy" 19/10/2010 19:35 >>>

...

I have a small question, may be trivial for you. I would like to know how I can run a MCSim simulation if one or
more of the parameters has an array of values ? Preferably, if I can automate parameter assignment by
reading the values from .txt file, for example. The idea is I would like to make a simulation out of the MCMC
MCSim outputs. It's quite like Monte Carlo runs, but it is not. I hope it is not confusing. Thank you very
much for all your help.

Regards,

Rudy

__________________________________________________
Rudy Gunawan, Ph. D
Post Doctoral Research Associate
Biological Monitoring/Modeling
Pacific Northwest National Laboratory
Frederic Y. Bois | 18 Jun 23:49
Picon
Favicon
Gravatar

Stochastic optimization with MCSim

New code (available on Savannah) allows you to perform stochastic optimization
with GNU MCSim. The MCMC simulation type flag needs to be set to value "4"...
Bill Harris | 4 May 07:28
Favicon

configure: error: You first need to install the 'gslcblas' library to build MCSim

This is mildly embarrassing, for I think I should know what to do.  I'm
coming back to MCSim for some work I need to do -- work I intended to do
tonight -- and I'm stuck.

I'm running Ubuntu 9.10 (32-bit), and I just installed MCSim v5.3.1.  I
first tried from CVS, but I couldn't find configure, so I grabbed the
tarball, and that worked.

Then I tried configure and got

,----
| ~/bin/mcsim-v5.3.1/mcsim$ ./configure
| checking for gcc... gcc
| checking for C compiler default output file name... a.out
| checking whether the C compiler works... yes
| checking whether we are cross compiling... no
| checking for suffix of executables... 
| checking for suffix of object files... o
| checking whether we are using the GNU C compiler... yes
| checking whether gcc accepts -g... yes
| checking for gcc option to accept ANSI C... none needed
| checking for a BSD-compatible install... /usr/bin/install -c
| checking whether make sets $(MAKE)... yes
| checking for gzip... yes
| checking for gnuplot... yes
| checking for wish... yes
| checking for info... yes
| checking for install-info... yes
| checking for makeinfo... yes
| checking for gv... yes
| checking for touch... yes
| checking for date... yes
| checking for tex... yes
| checking for texi2dvi... yes
| checking for dvi2ps... no
| checking for texi2html... yes
| checking for main in -lm... yes
| checking for main in -lgslcblas... no
| configure: error: You first need to install the 'gslcblas' library to build MCSim
`----

I found http://osdir.com/ml/help-mcsim-gnu/2009-08/msg00001.html and
http://osdir.com/ml/help-mcsim-gnu/2009-08/msg00002.html.  Running
sudo ldconfig -v didn't help.  I gather you only need to set
LD_LIBRARY_PATH if libgsl isn't in /usr/lib, but

,----
|   /usr/lib:
|   total used in directory 488844 available 15233936
|   .
|   .
|   .
|   lrwxrwxrwx   1 root root       20 2009-11-29 18:04 libgslcblas.so.0 -> libgslcblas.so.0.0.0
|   -rw-r--r--   1 root root   226580 2008-12-22 05:28 libgslcblas.so.0.0.0
|   lrwxrwxrwx   1 root root       16 2009-11-29 18:04 libgsl.so.0 -> libgsl.so.0.13.0
|   -rw-r--r--   1 root root  1964616 2008-12-22 05:28 libgsl.so.0.13.0
|   .
|   .
|   .
`----

I did try 

,----
| ~/bin/mcsim-v5.3.1/mcsim$ export LD_LIBRARY_PATH=/usr/lib
| ~/bin/mcsim-v5.3.1/mcsim$ echo $LD_LIBRARY_PATH
`----

but ./configure still failed in the same way.

Finally, I found an old email from Frédéric suggesting to use 

,----
| gcc *.c -lm -lgsl -lgslcblas 
`----

instead of make.  I tried running find to find *.c files and pass them
to gcc, but that failed with lots of 

,----
| /usr/bin/ld: cannot find -lgsl
| collect2: ld returned 1 exit status
`----

and other errors.

I did have 5.2.beta working sometime in late 2008 / early 2009, but I've
been away from it since then.  Can anyone point out the obvious error in
my ways?  I now have a real need for MCMC applied to a dynamic model.

Thanks,

Bill
--

-- 
Bill Harris                  http://makingsense.facilitatedsystems.com/
Facilitated Systems                              Everett, WA 98208 USA
http://www.facilitatedsystems.com/               phone: +1 425 374-1845
Rudy Gunawan | 19 Jan 00:10

MCSIM installation

Hi,

I have been trying to install MCSim on Windows XP. I have already had C 
compilers, both gcc and lcc. 'Mod' has already worked properly (I guess). When 
I did 'mod perc.model', it gives me 'model.c' as expected. Nevertheless, the 
problem arises when I attempt to compile 'model.c', it gave me there errors:

"... undefined reference to _vbModelReinitd"
"... undefined reference to CalcInputs"
"... undefined WinMain <at> 16"

While the last error can be fixed by adding 

int main(int argc, char *argv[]) {
    return 0;
}

into model.c, I have no clue for the first two errors. I have followed the 
aforementioned steps. I put 'mod.exe' into the 'sim' folder. Moreover, I 
move 'perc.model' into the 'sim' folder in order to link it with the other sim 
files. 

So if anybody has some suggestions, please share. Thank you very much.
Anna-Karin Mork | 4 Aug 16:32
Picon
Picon
Favicon

Configure problems

Hi,

I am trying to install McSim to run it on a cluster and can therefore
not use the standard installation (/usr/local/..).  When trying to
configure I get this:

h18n01$ ./configure --prefix=$HOME
LDFLAGS=-L/afs/pdc.kth.se/home/a/akmork/lib       

checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for a BSD-compatible install... /usr/bin/install -c
checking whether make sets $(MAKE)... yes
checking for gzip... yes
checking for gnuplot... no
checking for wish... no
checking for info... yesI have installed the GSL library in my home
directory $HOME/lib.
checking for install-info... no
checking for makeinfo... yes
checking for gv... no
checking for touch... yes
checking for date... yes
checking for tex... no
postscript not generated
checking for dvi2ps... no
checking for texi2html... no
checking for main in -lm... yes
checking for main in -lgslcblas... no
configure: error: You first need to install the 'gslcblas' library to
build MCSim

h18n01$ cd ~/lib
h18n01$ ls
libgsl.a   libgsl.so.0      libgslcblas.la    libgslcblas.so.0.0.0
libgsl.la  libgsl.so.0.8.0  libgslcblas.so    pkgconfig
libgsl.so  libgslcblas.a    libgslcblas.so.0

What am I doing wrong?

Thanks!
Anna-Karin
Frederic Y. Bois | 8 Jun 12:41
Picon
Favicon

New patch for Windows installation

A new patch has just been posted for installing version 5.3.1 under Windows
(see http://www.gnu.org/software/mcsim/WindowsInstall.html).
Picon
Picon

MCSim on Cygwin

Attached is a listing from a build attempt on Cygwin on Windows XP

There are errors in the creation of libmcsim.so

What am I doing wrong ?

-tim
cd ./mod; make
make[1]: Entering directory `/usr/local/src/mcsim/mod'
make[1]: Nothing to be done for `one'.
make[1]: Leaving directory `/usr/local/src/mcsim/mod'
cd ./sim; make lib
make[1]: Entering directory `/usr/local/src/mcsim/sim'
Linking libmcsim.so...
/cygdrive/c/DOCUME~1/Tim/LOCALS~1/Temp/cc7g5Fz1.o:lsodes1.c:(.text+0x956): undefined
reference to `_CalcDeriv'
/cygdrive/c/DOCUME~1/Tim/LOCALS~1/Temp/cc7g5Fz1.o:lsodes1.c:(.text+0x2b9c): undefined
reference to `_CalcDeriv'
/cygdrive/c/DOCUME~1/Tim/LOCALS~1/Temp/cc7g5Fz1.o:lsodes1.c:(.text+0x2ed9): undefined
reference to `_CalcDeriv'
/cygdrive/c/DOCUME~1/Tim/LOCALS~1/Temp/cc7g5Fz1.o:lsodes1.c:(.text+0x387d): undefined
reference to `_CalcDeriv'
/cygdrive/c/DOCUME~1/Tim/LOCALS~1/Temp/cc7g5Fz1.o:lsodes1.c:(.text+0x3b83): undefined
reference to `_CalcDeriv'
/cygdrive/c/DOCUME~1/Tim/LOCALS~1/Temp/cc7g5Fz1.o:lsodes1.c:(.text+0x4212): more undefined
references to `_CalcDeriv' follow
/cygdrive/c/DOCUME~1/Tim/LOCALS~1/Temp/ccGXujfI.o:mh.c:(.text+0x2bbb): undefined reference to `_InitModel'
/cygdrive/c/DOCUME~1/Tim/LOCALS~1/Temp/ccGXujfI.o:mh.c:(.text+0x3474): undefined reference to `_InitModel'
/cygdrive/c/DOCUME~1/Tim/LOCALS~1/Temp/cc5A7psu.o:modelu.c:(.text+0x10): undefined reference
to `_vnInputs'
/cygdrive/c/DOCUME~1/Tim/LOCALS~1/Temp/cc5A7psu.o:modelu.c:(.text+0x28): undefined reference
to `_vrgInputs'
/cygdrive/c/DOCUME~1/Tim/LOCALS~1/Temp/cc5A7psu.o:modelu.c:(.text+0x31): undefined reference
to `_vrgInputs'
/cygdrive/c/DOCUME~1/Tim/LOCALS~1/Temp/cc5A7psu.o:modelu.c:(.text+0x37): undefined reference
to `_vrgInputs'
/cygdrive/c/DOCUME~1/Tim/LOCALS~1/Temp/cc5A7psu.o:modelu.c:(.text+0x47): undefined reference
to `_vrgInputs'
/cygdrive/c/DOCUME~1/Tim/LOCALS~1/Temp/cc5A7psu.o:modelu.c:(.text+0x60): undefined reference
to `_vrgInputs'
/cygdrive/c/DOCUME~1/Tim/LOCALS~1/Temp/cc5A7psu.o:modelu.c:(.text+0x74): more undefined
references to `_vrgInputs' follow
/cygdrive/c/DOCUME~1/Tim/LOCALS~1/Temp/cc5A7psu.o:modelu.c:(.text+0x320): undefined
reference to `_vnInputs'
/cygdrive/c/DOCUME~1/Tim/LOCALS~1/Temp/cc5A7psu.o:modelu.c:(.text+0x354): undefined
reference to `_vnInputs'
/cygdrive/c/DOCUME~1/Tim/LOCALS~1/Temp/cc5A7psu.o:modelu.c:(.text+0x361): undefined
reference to `_vrgInputs'
/cygdrive/c/DOCUME~1/Tim/LOCALS~1/Temp/cc5A7psu.o:modelu.c:(.text+0x367): undefined
reference to `_vnInputs'
/cygdrive/c/DOCUME~1/Tim/LOCALS~1/Temp/cc5A7psu.o:modelu.c:(.text+0x37b): undefined
reference to `_vrgInputs'
/cygdrive/c/DOCUME~1/Tim/LOCALS~1/Temp/cc5A7psu.o:modelu.c:(.text+0x381): undefined
reference to `_vrgInputs'
/cygdrive/c/DOCUME~1/Tim/LOCALS~1/Temp/cc5A7psu.o:modelu.c:(.text+0x3a8): undefined
reference to `_vnInputs'
/cygdrive/c/DOCUME~1/Tim/LOCALS~1/Temp/cc5A7psu.o:modelu.c:(.text+0x3c4): undefined
reference to `_vrgInputs'
/cygdrive/c/DOCUME~1/Tim/LOCALS~1/Temp/cc5A7psu.o:modelu.c:(.text+0x3d1): undefined
reference to `_vrgInputs'
/cygdrive/c/DOCUME~1/Tim/LOCALS~1/Temp/cc5A7psu.o:modelu.c:(.text+0x418): undefined
reference to `_vrgInputs'
/cygdrive/c/DOCUME~1/Tim/LOCALS~1/Temp/cc5A7psu.o:modelu.c:(.text+0x44d): undefined
reference to `_vrgInputs'
/cygdrive/c/DOCUME~1/Tim/LOCALS~1/Temp/cc5A7psu.o:modelu.c:(.text+0x460): undefined
reference to `_vrgInputs'
/cygdrive/c/DOCUME~1/Tim/LOCALS~1/Temp/cc5A7psu.o:modelu.c:(.text+0x46a): more undefined
references to `_vrgInputs' follow
/cygdrive/c/DOCUME~1/Tim/LOCALS~1/Temp/cc5A7psu.o:modelu.c:(.text+0x4a9): undefined
reference to `_vnInputs'
/cygdrive/c/DOCUME~1/Tim/LOCALS~1/Temp/cc5A7psu.o:modelu.c:(.text+0x68f): undefined
reference to `_ScaleModel'
/cygdrive/c/DOCUME~1/Tim/LOCALS~1/Temp/cc5A7psu.o:modelu.c:(.text+0x6b5): undefined
reference to `_vnInputs'
/cygdrive/c/DOCUME~1/Tim/LOCALS~1/Temp/cc5A7psu.o:modelu.c:(.text+0x6d0): undefined
reference to `_vrgInputs'
/cygdrive/c/DOCUME~1/Tim/LOCALS~1/Temp/cc5A7psu.o:modelu.c:(.text+0x708): undefined
reference to `_vrgInputs'
/cygdrive/c/DOCUME~1/Tim/LOCALS~1/Temp/cc5A7psu.o:modelu.c:(.text+0x724): undefined
reference to `_vrgInputs'
/cygdrive/c/DOCUME~1/Tim/LOCALS~1/Temp/cc5A7psu.o:modelu.c:(.text+0x72d): undefined
reference to `_vrgInputs'
/cygdrive/c/DOCUME~1/Tim/LOCALS~1/Temp/cc5A7psu.o:modelu.c:(.text+0x749): undefined
reference to `_vrgInputs'
/cygdrive/c/DOCUME~1/Tim/LOCALS~1/Temp/cc5A7psu.o:modelu.c:(.text+0x767): more undefined
references to `_vrgInputs' follow
/cygdrive/c/DOCUME~1/Tim/LOCALS~1/Temp/cc5A7psu.o:modelu.c:(.text+0x7a8): undefined
reference to `_vnInputs'
/cygdrive/c/DOCUME~1/Tim/LOCALS~1/Temp/cc5A7psu.o:modelu.c:(.text+0x815): undefined
reference to `_vrgvmGlo'
/cygdrive/c/DOCUME~1/Tim/LOCALS~1/Temp/cc5A7psu.o:modelu.c:(.text+0x878): undefined
reference to `_vnInputs'
/cygdrive/c/DOCUME~1/Tim/LOCALS~1/Temp/cc5A7psu.o:modelu.c:(.text+0x88e): undefined
reference to `_vnStates'
/cygdrive/c/DOCUME~1/Tim/LOCALS~1/Temp/cc5A7psu.o:modelu.c:(.text+0x8a8): undefined
reference to `_vnStates'
/cygdrive/c/DOCUME~1/Tim/LOCALS~1/Temp/cc5A7psu.o:modelu.c:(.text+0x8b0): undefined
reference to `_vnModelVars'
/cygdrive/c/DOCUME~1/Tim/LOCALS~1/Temp/cc5A7psu.o:modelu.c:(.text+0x8be): undefined
reference to `_vnStates'
/cygdrive/c/DOCUME~1/Tim/LOCALS~1/Temp/cc5A7psu.o:modelu.c:(.text+0x8c4): undefined
reference to `_vnOutputs'
/cygdrive/c/DOCUME~1/Tim/LOCALS~1/Temp/cc5A7psu.o:modelu.c:(.text+0x8ca): undefined
reference to `_vnInputs'
/cygdrive/c/DOCUME~1/Tim/LOCALS~1/Temp/cc5A7psu.o:modelu.c:(.text+0x8e1): undefined
reference to `_vnParms'
/cygdrive/c/DOCUME~1/Tim/LOCALS~1/Temp/cc5A7psu.o:modelu.c:(.text+0x908): undefined
reference to `_vrgvmGlo'
/cygdrive/c/DOCUME~1/Tim/LOCALS~1/Temp/cc5A7psu.o:modelu.c:(.text+0x90d): undefined
reference to `_vrgvmGlo'
/cygdrive/c/DOCUME~1/Tim/LOCALS~1/Temp/cc5A7psu.o:modelu.c:(.text+0x918): undefined
reference to `_vrgvmGlo'
/cygdrive/c/DOCUME~1/Tim/LOCALS~1/Temp/cc5A7psu.o:modelu.c:(.text+0x993): undefined
reference to `_vrgInputs'
/cygdrive/c/DOCUME~1/Tim/LOCALS~1/Temp/cc5A7psu.o:modelu.c:(.text+0x9a6): undefined
reference to `_vrgModelVars'
/cygdrive/c/DOCUME~1/Tim/LOCALS~1/Temp/cc5A7psu.o:modelu.c:(.text+0x9bc): undefined
reference to `_vrgvmGlo'
/cygdrive/c/DOCUME~1/Tim/LOCALS~1/Temp/cc5A7psu.o:modelu.c:(.text+0xae7): undefined
reference to `_vrgModelVars'
/cygdrive/c/DOCUME~1/Tim/LOCALS~1/Temp/cc5A7psu.o:modelu.c:(.text+0xafa): undefined
reference to `_vrgvmGlo'
/cygdrive/c/DOCUME~1/Tim/LOCALS~1/Temp/cc5A7psu.o:modelu.c:(.text+0xb4d): undefined
reference to `_vrgInputs'
/cygdrive/c/DOCUME~1/Tim/LOCALS~1/Temp/cc5A7psu.o:modelu.c:(.text+0xb78): undefined
reference to `_vrgModelVars'
/cygdrive/c/DOCUME~1/Tim/LOCALS~1/Temp/cc5A7psu.o:modelu.c:(.text+0xb82): undefined
reference to `_vnModelVars'
/cygdrive/c/DOCUME~1/Tim/LOCALS~1/Temp/cc5A7psu.o:modelu.c:(.text+0xb8c): undefined
reference to `_vnStates'
/cygdrive/c/DOCUME~1/Tim/LOCALS~1/Temp/cc5A7psu.o:modelu.c:(.text+0xba5): undefined
reference to `_vnInputs'
/cygdrive/c/DOCUME~1/Tim/LOCALS~1/Temp/cc5A7psu.o:modelu.c:(.text+0xbbd): undefined
reference to `_vrgInputs'
/cygdrive/c/DOCUME~1/Tim/LOCALS~1/Temp/cc5A7psu.o:modelu.c:(.text+0xbca): undefined
reference to `_vrgInputs'
/cygdrive/c/DOCUME~1/Tim/LOCALS~1/Temp/cc5A7psu.o:modelu.c:(.text+0xbd3): undefined
reference to `_vrgInputs'
/cygdrive/c/DOCUME~1/Tim/LOCALS~1/Temp/cc5A7psu.o:modelu.c:(.text+0xbec): undefined
reference to `_vrgInputs'
/cygdrive/c/DOCUME~1/Tim/LOCALS~1/Temp/cc5A7psu.o:modelu.c:(.text+0xc13): undefined
reference to `_vrgInputs'
/cygdrive/c/DOCUME~1/Tim/LOCALS~1/Temp/cc5A7psu.o:modelu.c:(.text+0xc35): more undefined
references to `_vrgInputs' follow
/cygdrive/c/DOCUME~1/Tim/LOCALS~1/Temp/cc5A7psu.o:modelu.c:(.text+0xcfa): undefined
reference to `_vnInputs'
/cygdrive/c/DOCUME~1/Tim/LOCALS~1/Temp/cc5A7psu.o:modelu.c:(.text+0xd19): undefined
reference to `_vrgvmGlo'
/cygdrive/c/DOCUME~1/Tim/LOCALS~1/Temp/cc5A7psu.o:modelu.c:(.text+0xe3d): undefined
reference to `_vrgvmGlo'
/cygdrive/c/DOCUME~1/Tim/LOCALS~1/Temp/cc5A7psu.o:modelu.c:(.text+0xe43): undefined
reference to `_vrgvmGlo'
/cygdrive/c/DOCUME~1/Tim/LOCALS~1/Temp/ccSiInYs.o:optdsign.c:(.text+0x620): undefined
reference to `_InitModel'
/cygdrive/c/DOCUME~1/Tim/LOCALS~1/Temp/cc2vKNfI.o:sim.c:(.text+0x8f): undefined reference to `_CalcDeriv'
/cygdrive/c/DOCUME~1/Tim/LOCALS~1/Temp/cc2vKNfI.o:sim.c:(.text+0xff): undefined reference to `_CalcDeriv'
/cygdrive/c/DOCUME~1/Tim/LOCALS~1/Temp/cc2vKNfI.o:sim.c:(.text+0x4d5): undefined reference to `_InitModel'
/cygdrive/c/DOCUME~1/Tim/LOCALS~1/Temp/cc2vKNfI.o:sim.c:(.text+0x53b): undefined reference to `_InitModel'
/cygdrive/c/DOCUME~1/Tim/LOCALS~1/Temp/cc2vKNfI.o:sim.c:(.text+0xc84): undefined reference to `_szModelGenAndVersion'
/cygdrive/c/DOCUME~1/Tim/LOCALS~1/Temp/cc2vKNfI.o:sim.c:(.text+0xc8c): undefined reference to `_szModelSourceFilename'
/cygdrive/c/DOCUME~1/Tim/LOCALS~1/Temp/cc2vKNfI.o:sim.c:(.text+0xc94): undefined reference to `_szModelDescFilename'
/cygdrive/c/DOCUME~1/Tim/LOCALS~1/Temp/cceC8JsL.o:simo.c:(.text+0xce): undefined reference to `_CalcDeriv'
/cygdrive/c/DOCUME~1/Tim/LOCALS~1/Temp/cceC8JsL.o:simo.c:(.text+0xeb): undefined reference to `_CalcOutputs'
/cygdrive/c/DOCUME~1/Tim/LOCALS~1/Temp/cceC8JsL.o:simo.c:(.text+0x18b): undefined reference
to `_vrgInputs'
/cygdrive/c/DOCUME~1/Tim/LOCALS~1/Temp/cceC8JsL.o:simo.c:(.text+0x19d): undefined reference
to `_vrgInputs'
/cygdrive/c/DOCUME~1/Tim/LOCALS~1/Temp/cceC8JsL.o:simo.c:(.text+0x1a6): undefined reference
to `_vrgInputs'
/cygdrive/c/DOCUME~1/Tim/LOCALS~1/Temp/cceC8JsL.o:simo.c:(.text+0x1c0): undefined reference
to `_vrgInputs'
/cygdrive/c/DOCUME~1/Tim/LOCALS~1/Temp/cceC8JsL.o:simo.c:(.text+0x1c8): undefined reference
to `_vrgInputs'
collect2: ld returned 1 exit status
make[1]: *** [libmcsim.so] Error 1
make[1]: Leaving directory `/usr/local/src/mcsim/sim'
make: [one] Error 2 (ignored)
cd ./doc; make
make[1]: Entering directory `/usr/local/src/mcsim/doc'
Generating mcsim.info...
* Created: info file "mcsim.info".

Generating mcsim.pdf...
* Created: PDF file "mcsim.pdf".

make[1]: Leaving directory `/usr/local/src/mcsim/doc'
_______________________________________________
Help-mcsim mailing list
Help-mcsim <at> gnu.org
http://lists.gnu.org/mailman/listinfo/help-mcsim
Picon
Picon

"Standard Platform" ?

Ive been trying to use MCSim on both windows and Mac OS (Leopard), and have run in to quirks related to the compilation that prompt the following question:

What is thestandard platform that MCSim development is being done on ? Im assuming by posing this question that the build scripts and tools are all designed for a certain Linux or Unix platform and that a build will run clean on such a platform.

Ive been unsuccessful at finding good help in build MCSim for Mac OS, and am attempting to create a virtual machine running a linux distro, so that I can at least have a reference installation to refer to as I work through what it takes to build for Mac.

Thanks in advance for any help you can give me.

Tim Hansell

Henry M. Jackson Foundation

711 HPW/RHPB

2729 R St, Bldg 837

Wright-Patterson AFB, OH 45433-5707

Phone: (937) 255-4332

E-Mail: Timothy.Hansell <at> WPAFB.AF.MIL

Attachment (smime.p7s): application/x-pkcs7-signature, 5182 bytes
_______________________________________________
Help-mcsim mailing list
Help-mcsim <at> gnu.org
http://lists.gnu.org/mailman/listinfo/help-mcsim

Gmane