Frederic Y. Bois | 18 Jun 23:49 2010
Picon

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 2010

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
(Continue reading)

Rudy Gunawan | 19 Jan 00:10 2010

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 2009
Picon
Picon

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
(Continue reading)

Frederic Y. Bois | 8 Jun 12:41 2009
Picon

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'
(Continue reading)

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, 7003 bytes
_______________________________________________
Help-mcsim mailing list
Help-mcsim <at> gnu.org
http://lists.gnu.org/mailman/listinfo/help-mcsim
Bill Harris | 12 May 04:12 2009

Re: Fwd: questions about MCSim

Cindy,

It's good to see another MCSim user in the Pacific Northwest!  Enjoy
your modeling!

If it's of any use, I created a quick reference card for MCSim that
includes some of its newer features.  You can find it along with a
presentation I made two and a half years ago in Portland at
http://facilitatedsystems.com/links.html#sd

As to your question, I use J (http://www.jsoftware.com/) as my scripting
language, and I've written J scripts to assemble simulation files
programmatically, run the model, and produce graphs.  That worked quite
nicely.  

For a simple example, see http://www.adaptistration.com/?p=1185.  While
that article doesn't contain the scripts, it does show the results.  For
example (as I recall), I had a script that picked percentage ranges for
the three key parameters, assembled a simulation file, ran the
simulation, and plotted and saved the table of eight graphs or the stick
plot you can see.

Bill
--

-- 
Bill Harris                      http://facilitatedsystems.com/weblog/
Facilitated Systems                              Everett, WA 98208 USA
http://facilitatedsystems.com/                  phone: +1 425 337-5541
Zhenhong Li | 14 Apr 21:26 2009
Picon

Fwd: questions about MCSim


Hello,

I am a PhD student at Oregon Health & Science University. I am using MCSim to do my modeling work for hormone
profiles in Fathead Minnows. The question I would like to ask is about "vectors". 

According to MCSim manual, vectors should be defined as <variable-name>'['<integer>']'. Can I define
the <integer> as a variable? I mean, for example, I would like to use a 'n' to replace the <integer>; then in
the first run, I define n=10 (the vector has a length of 10), and in the second run I define n=7 (the vector has
a length of 7), as so on. Then, for different runs, the length of the vector varies.

I tried several times, it seems that the present program does not accept it. Would you please give me any
suggestion? Can I modify the program a little bit to add this function in? and how? Thank you very much!

Best!

Cindy
Frederic Y. Bois | 3 Mar 09:32 2009
Picon

GNU MCSim version 5.3.1 release

Version 5.3.1 of GNU MCSim is now available from
http://www.gnu.org/software/mcsim/.
It fixes some problems with OptimalDesign();

Frederic Bois
Frédéric BOIS | 12 Jan 09:16 2009
Picon

GNU MCSim version 5.3.0 release

Version 5.3.0 of GNU MCSim is now available from
http://www.gnu.org/software/mcsim/.

Frederic Bois

Gmane