Archived OpenModelica forums. Posting is disabled.

Alternative forums include GitHub discussions or StackOverflow (make sure to read the Stack Overflow rules; you need to have well-formed questions)


Forgot password? | Forgot username? | Register
  • Index
  • » Users
  • » akigupta131
  • » Profile

Posts

Posts

adrpo wrote:

As for openblas-clean edit /home/student/openmodelica/Makefile.common in the top directory and remove this part "> /dev/null 2>&1" to see what's going on.

I removed the part "> /dev/null 2>&1" (as you mentioned), Then I am getting error:-

Code:

make -C 3rdParty/OpenBLAS-0.2.8 clean >

/bin/sh: 1: Syntax error: end of file unexpected
make: ***[openblas-clean] Error 2

PFA the image make_clean_error2.jpg

https://openmodelica.org/images/agorapro/attachments/4239/mini_make-clean-error2.jpg


Also I installed the pkg-config after which 'ATOMIC_OPS' problem is solved and while I run 'make', after lots of processing, I get error:-

Code:

./meta/meta_modelica_bulletin.o: error adding symbols: Bad value

collect2: error: ld returned 1 exit status

PFA the image make_error.jpg


https://openmodelica.org/images/agorapro/attachments/4239/mini_make-error.jpg

I tried 'make clean' and in that I am getting error
make: *** [openblas-clean] Error 2
(find attached the error image)
https://openmodelica.org/images/agorapro/attachments/4239/mini_make-clean-error.jpg


Even after getting this error, when I try to 'make', I get "syntax error near unexpected token 'ATOMIC_OPS' " error
Being unable to lead somewhere current/sad
Please help

Hello Martin,

I Have installed all the dependencies that are listed in the README. Also ./configure --without-paradiseo worked fine and configuration was successful but now, when I am trying to make, I am getting error:- "syntax error near unexpected token ATOMIC_OPS" (attachment)

Please tell me the solution. Also from where can I get the pkg.m4 file?
https://openmodelica.org/images/agorapro/attachments/4239/mini_syntax-bug.jpg

I have installed all the dependencies shown in the README. Can you please elaborate?
From where I can get the pkg.m4 file


PS: Thanks for all the help

Okay. What's the solution. What should I do next?

I chose --without-paradiseo, and I am getting syntax error:-

./configure: line 16922: syntax error near unexpected token 'ATOMIC_OPS,'

See the attachment
https://openmodelica.org/images/agorapro/attachments/4239/mini_syntax-bug.jpg

I that case, It shows error for paradiseo

checking for paradisEO... configure: error: not found (searched /usr /opt //home/student/openmodelica/build)

https://openmodelica.org/images/agorapro/attachments/4239/mini_paradiseo-bug.jpg

I made a build directory in openmodelica source folder and I am trying to build using
../configure command

It worked with -v1.8.8

Now I am facing trouble with antlr
It says:-
configure: error: no antlr.Tool support

while I have already installed antlr -v3.5.2


https://openmodelica.org/images/agorapro/attachments/4239/mini_antlr-bug.jpg

Hello,

The problem is still unsolved! It is really important for this to work.
I am trying to integrate OpenModelica and DWSIM (to make thermodynamic modules work on OM)
Also, I want it to work on ARM architectures, where I don't see many useful resources/support for that yet.

Let me explain you in the detail, what I have done:

I used the following to get the source code from openmodelica Subversion repository [latest]

Code:

svn co https://openmodelica.org/svn/OpenModelica/trunk/ openmodelica

(as mentioned in Openmodelica Source Code)
It fetches lots of files and after taking quite some time, it gives message:-

Code:

svn: ra_serf: The server sent a truncated HTTP response body.

Please help me and provide some detailed solution (for a beginner).

sjoelund.se wrote:


There are no binary packages for ARM in OpenModelica. You will need to do apt-get build-dep paradiseo, etc for that as well.

Code:


student@netbook:~$ sudo apt-get build-dep paradiseo
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 228 not upgraded.
student@netbook:~$ sudo apt-get build-dep openmodelica
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Build-Depends dependency for openmodelica cannot be satisfied because the package paradiseo cannot be found

Can you give me some fresh method. Because when I am following the method mentioned in the README.linux.txt , I am getting errors:-
W: Failed to fetch http://build.openmodelica.org/apt/dist/trusty/Release unable to find expected entry 'release/binary-armhf/Packages' in Release file (Wrong sources.list entry or malfunctioned file)
E: Some index entry failed to download. They have been ignored, or old ones used instead.

again, while I am following apt-get update step.

And hence can't proceed. I am a newbie to openmodelica. Please suggest the easiest possible steps. Thanks for the instant replies



E: Build-Depends dependency for openmodelica cannot be satisfied because the package paradiseo cannot be found

I just used

Code:

svn co https://openmodelica.org/svn/OpenModelica/trunk/ openmodelica

as it was mentioned for latest version

When I use

Code:

sudo apt-get build-dep openmodelica 

I get
E: Build-Depends dependency for openmodelica cannot be satisfied because the package rml-mmc cannot be found

I am trying to install and run OpenModelica on ARM (Cortex A9 v7) machhine and Ubuntu 14.04.1


Method 1 : Directly Download Linux Debian / Ubuntu Packages
https://openmodelica.org/download/download-linux

But I am getting:-
W: Failed to fetch http://build.openmodelica.org/apt/dist/trusty/Release unable to find expected entry 'release/binary-armhf/Packages' in Release file (Wrong sources.list entry or malfunctioned file)
E: Some index entry failed to download. They have been ignored, or old ones used instead.

^Attached the screenshot

Method 2 : Source Code
https://openmodelica.org/developersresources/source-code

I am unable to find ./configure or any make file
So 'make install' being of no use here


Please help me
Thanks in advance
https://openmodelica.org/images/agorapro/attachments/4239/mini_Download-Linux-Debian--Ubuntu-Packages.JPG

  • Index
  • » Users
  • » akigupta131
  • » Profile
You are here: