Opened 7 years ago

Closed 7 years ago

Last modified 6 years ago

#177 closed Support (fixed)

Error in installi Grib-API library

Reported by: mhakimzadeh Owned by: pesei
Priority: major Milestone:
Component: FP other Version: FLEXPART 9.0.2
Keywords: Install Grib-API library Cc:

Description (last modified by pesei)

Dear All,

I am trying to install Grib-API library,but after I write the "make" command in the terminal, I get the following error:

/home/maryam/lib/jasper-1.900.1//lib/libjasper.a: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
make[2]: *** [libgrib_api.la] Error 1
make[2]: Leaving directory `/home/maryam/lib/src/grib_api-1.23.0-Source/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/maryam/lib/src/grib_api-1.23.0-Source/src'
make: *** [all-recursive] Error 1

Any help would be appreciated,

Change History (11)

comment:1 Changed 7 years ago by pesei

  • Description modified (diff)
  • Owner set to pesei
  • Status changed from new to accepted
  • Type changed from Defect to Support

comment:2 follow-up: Changed 7 years ago by pesei

Do you have the development version of libjasper installed?

comment:3 in reply to: ↑ 2 Changed 7 years ago by mhakimzadeh

Replying to pesei:

Do you have the development version of libjasper installed?

My jasper file name is jasper -1.900.1. Which file is the development version of it?

Thanks,
Maryam

comment:4 follow-up: Changed 7 years ago by pesei

If you don't tell us which distro you are using, it is difficult to tell you the name of packages. In Debian it is libjasper-dev. I recommend that you ask your system administrator for help. Your problem is more a Linux issue, not FLEXPART (grib_api is not maintained by us).

comment:5 in reply to: ↑ 4 ; follow-up: Changed 7 years ago by mhakimzadeh

Replying to pesei:

If you don't tell us which distro you are using, it is difficult to tell you the name of packages. In Debian it is libjasper-dev. I recommend that you ask your system administrator for help. Your problem is more a Linux issue, not FLEXPART (grib_api is not maintained by us).

How can I know it's ditro?
I have another question. I am installing FLEXPART on intel which supports C++ and ifort. Is it compatible with FLEXPART or it has to have gfortran?

Thanks,

comment:6 in reply to: ↑ 5 Changed 7 years ago by pesei

Replying to mhakimzadeh:

How can I know it's ditro?

If you have no Linux administration knowledge, you should really ask for local support!
We will help you with FLEXPART, but it will be difficult from remote, and also too time-consuming to solve your Linux problems.

I have another question. I am installing FLEXPART on intel which supports C++ and ifort. Is it compatible with FLEXPART or it has to have gfortran?

You can use ifort (also, ifort code is usually faster than gfortran-compiled one), you just have to adapt the makefile accordingly. Also it is advisable to compile grib_api with the same compiler.

comment:7 follow-up: Changed 7 years ago by pesei

mhaimzadeh, please let us know, can we close this ticket?

comment:8 in reply to: ↑ 7 Changed 7 years ago by mhakimzadeh

Replying to pesei:

mhaimzadeh, please let us know, can we close this ticket?

Yes, many thanks for your help.

comment:9 Changed 7 years ago by pesei

  • Resolution set to fixed
  • Status changed from accepted to closed

comment:10 Changed 6 years ago by julielzhu

Dear all,

I have met the same error with the ticket reporter, and my version of jasper is libjasper 1.900.1,

my distro is Centos 7.3.

Could you give me some help? I've been stuck in this problem for a long time.
Hope to get your help.
Many thanks!

comment:11 Changed 6 years ago by pesei

Dear juliezhu, as explained above, this is probably not directly related to FLEXPART. Either you don't have the right lib installed, or you don't reference it properly in your makefile. Could you please try to get help from your system administrator or another Linux specialist? If you can't get the issue solved, please post

  1. your makefile
  2. exact error message

If you can solve it, please also post so that we can close the ticket.

Thank you.

Note: See TracTickets for help on using tickets.
hosted by ZAMG