Hi,
OpenModelica is not yet ready for 64bit architectures.
Also, most of the testsuite checks are comparing reals
and of course the difference between real calculations
in 64bit vs. 32bit mode is quite large. There are also
problems with linker flags on 64bit targest (-fPIC
should be added, etc, etc)
You can compile OpenModelica in 32bit mode on a
64bit architecture. I will send you an email shortly
with some explanations on how you can do that.
Cheers,
Adrian Pop/
Jorge Cardona wrote:
Hi, i a have a x86_64, just add the ./ path, and run the testsuite again
and i got this:
$ make 2>&1 | grep succeeded
== 261 out of 283 tests succeeded
== 60 out of 60 tests succeeded
== 92 out of 108 tests succeeded
== 11 out of 12 tests succeeded
Well, that's much better, but is normal that test failures??
Thanks!!.
2008/9/24 Adrian Pop <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>
Hi,
Have you added ./ in the PATH before running the testsuite?
$ export PATH=${PATH}:./
$ cd /tmp/opentrunk/testsuite/
$ make
If this doesn't work, then please tgz all:
/tmp/opentrunk/testsuite/mos*/*.log
/tmp/log-*
and send them to me directly (not to the list)
so I can have a look at them and see what the
problems might be.
One quick question:
What architecture do you have: i386 or x86_64?
run to find out $ uname -a
Cheers,
Adrian Pop/
Jorge Cardona wrote:
Greetings.
I'm just a newbie on Modelica, and got a few problems compiling
openmodelica, and at the end when i run the testsuite i got this:
/tmp/opentrunk/testsuite$ make 2>&1 | grep succeeded
== 261 out of 283 tests succeeded
== 60 out of 60 tests succeeded
== 35 out of 108 tests succeeded
== 0 out of 12 tests succeeded
I'm using the svn version for openmodelica (3649) and for rml
(144) and the Debian packages for:
$ dpkg -l smlnj-runtime smlnj ml-lex ml-yacc libcml-smlnj
Desired=Unknown/Install/Remove/Purge/Hold
|
Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err:
uppercase=bad)
||/ Name Version
Description
+++-==============================================-==============================================-============================================================================================================
ii libcml-smlnj 110.67-3
Concurrent ML
ii ml-lex 110.67-3
Lexical analyzer generator for
Standard ML
ii ml-yacc 110.67-3
Parser generator for Standard ML
ii smlnj 110.67-3
Standard ML of New Jersey
interactive compiler
ii smlnj-runtime 110.67-3
Standard ML of New Jersey
runtime system
I run configure with --without-CORBA, and then, when run make
omc i got a few errors with the atoi,atof, and strlen. I added a
line #include <stdlib.h> to Compiler/runtime/ptolemyio.cpp and
c_runtime/simulation_init.cpp, and a #include <string.h> to
Compiler/runtime/ptolemyio.cpp. After that make omc ends and i
run make mosh without problems, and then I extract the libraries
to the build path and set the environment variables: export
OPENMODELICALIBRARY=/tmp/opentrunk/build/ModelicaLibrary and
export OPENMODELICAHOME=/tmp/opentrunk/build.
I'm using g++ (Debian 4.3.2-1) 4.3.2 and gcc (Debian 4.3.2-1)
4.3.2. <http://4.3.2.> <http://4.3.2.>
Maybe i'm missing something on the compilation process but i
don't know what, please help me with it.
Thanks.
--
Jorge Eduardo Cardona
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
<mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>
jorgeecardona.blogspot.com <http://jorgeecardona.blogspot.com>
<http://jorgeecardona.blogspot.com>
------------------------------------------------
Linux registered user #391186
Registered machine #291871
------------------------------------------------
--
Jorge Eduardo Cardona
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
jorgeecardona.blogspot.com <http://jorgeecardona.blogspot.com>
------------------------------------------------
Linux registered user #391186
Registered machine #291871
------------------------------------------------