![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
|
GFORTRAN compilation. Problem with IMSL use.
Hi! I need a bit of advice, please.
I wrote a code in Fortran using Microsoft Developer. Now I realised that I need to run it in Linux. I used few IMSL subroutines in it. Now I'm trying to compile the program using gfortran compiler in Linux. The problem is - I don't know how to make the IMSL library work in Linux. Meaning gfortran doesn't recognise IMSL subroutines. I had copied the actual library file (MATHD.LIB) in the same folder and had tried to use "USE" command, but it didn't work, as .mod file was apparently expected instead of .lib one. So, could anyone help, please? May be there are some command options for gfortran, or something?.. Or may be someone could advice where I might get IMSL for Linux?.. Last edited by Romchik; Jan 5th, 2007 at 7:00 AM. |
|
|
|
|
|
#2 |
|
Programming Guru
![]() Join Date: Jun 2005
Location: Adelaide, South Australia
Posts: 1,254
Rep Power: 5
![]() |
A .LIB file is a specific file format containing compiled source code that (when you're using MS Developer) is recognised by the Microsoft Linker. To use IMSL under linux, you will need to obtain a version of the library that is compiled and built under linux, with your compile/linker.
To buy a version of the IMSL libraries for linux (or other operating systems), have a look here. I'm not sure offhand if they support gfortran. Alternatively, there are some free, good quality, numerical fortran libraries out there as source code. Netlib is a good place to start looking. |
|
|
|
|
|
#3 |
|
Newbie
|
... any suggestions for the source of free IMSL copy?
![]()
__________________
Don't argue with an idiot: people may see no difference between you. |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Stuck with a C problem | Polaris | C++ | 8 | Aug 19th, 2006 4:30 PM |
| cgi/perl script + IE problem | joyceshee | Perl | 2 | Jan 24th, 2006 12:10 PM |
| problem with c++ builder compilation | rymas | C++ | 1 | Jul 10th, 2005 10:40 PM |
| Variable array problem | Hintshigen | C | 6 | Apr 10th, 2005 3:35 PM |
| help with recursion problem | the_new_guy_in_town | Java | 3 | Apr 7th, 2005 4:04 AM |