Need Help installing a Computational Tool Kit


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Need Help installing a Computational Tool Kit
# 1  
Old 01-10-2006
Need Help installing a Computational Tool Kit

Hi !

I have been trying to install IMSL Computational Tool Kit on a server.
It is a Lunix Redhat V.4 with Intel pentium d processor and Intel fortran compiler 8.1 and the type of command shell we run is bash.

I dont know if the problem is with the Installation or the Lunix system.

I have gone through the entire process of Installation as it is in the instructions give on the website:
http://www.vni.com/tech/imsl/getting...st_c_unix.html

The license server is up fine but once i run this C file :

/* Program start */
/* The header file for Mathematics of the IMSL C Library. */
/* For Statistics, use <imsl.h>>. */

#include <imsl.h>

main()
{
/* variable declaration */
int n = 3;
float *x;
static float a [ ] = {33.0, 16.0, 72.0,
-24.0, -10.0, -57.0,
18.0, -11.0, 7.0};
static float b [ ] = {129.0, -96.0, 8.5};
float *p_inva;

/* The main IMSL function call to solve for x in Ax=B.
* This is the floating point version, to use
* double-precision arguments, call
* imsl_d_lin_sol_gen */
x = imsl_f_lin_sol_gen(n, a, b, 0);



/* Optional arguments are included after required
* arguments. These are usually preceded by a constant
* named IMSL_* indicating which optional argument is
* being passed. In this example, we request the
* inverse of the a matrix */
x = imsl_f_lin_sol_gen(n, a , b,IMSL_INVERSE, &p_inva,0);

/* Print the solution x and the inverse of a using
* write_matrix, a printing utility */
imsl_f_write_matrix("Solution x", 1, n, x, 0);
imsl_f_write_matrix("Inverse of A", n, n, p_inva, 0);
}
/* Program end */


I get this error:
cnl.c:4:19: imsl.h: No such file or directory
cnl.c: In function 'main':
cnl.c:21:warning: assignment makes pointer from integer without a cast
cnl.c:30: error: 'IMSL_INVERSE' undeclared (first use in this function)
cnl.c:30: error: (Each undeclared identifier is reported only once for each function it appears in.)
cnl.c:30: warning: assignment makes pointer fron integer without a cast
**********************************************

Then if i give the entire path # include</usr/...../imsl.h> in the same code above I get :


/tmp/ccnedUdh.o(.text+0x27): In function 'main':
: undefined reference to 'imsl_f_lin_sol_gen'
/tmp/ccnedUdh.o(.text+0x54): In function 'main':
: undefined reference to 'imsl_f_lin_sol_gen'
/tmp/ccnedUdh.o(.text+0x79): In function 'main':
: undefined reference to 'imsl_f_write_matrix'
/tmp/ccnedUdh.o(.text+0x98): In function 'main':
: undefined reference to 'imsl_f_write_matrix'
collect2: ld returned l exit status


I Cant figure out whats wrong !! Smilie

Thank you.
dsmv.
# 2  
Old 01-10-2006
I cannot try stuff in your environment, but you seem to have two problems...

You are not finding your include file. You need to figure out where that include file resides. Then you need to tell the compiler. Something like:
gcc -I/opt/imsl/include

You are, perhaps, not finding your library. This might be affected by finding that include file. You probably need to fingure out where your libraries are. Then you need to tell the compiler. Something like:
gcc -l/opt/imsl/lib
Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Shell script for %computational memory & % non computational memory

Dear, How to calculate %computational memory and %non computational memory from AIX server. What command used to find out %computational memory and % non computational memory except topas. Regards Nowshath (1 Reply)
Discussion started by: Nowshath
1 Replies

2. Shell Programming and Scripting

Capturing computational/non computational memory from topas

Hi Friends, How to capture the value of %Comp and %Noncomp values from AIX using topas command. I tried lot, but i cannot capture the value. (4 Replies)
Discussion started by: Nowshath
4 Replies

3. UNIX for Advanced & Expert Users

How to make "tab" key in mksnt tool kit case sensitive?

I am using MKS Toolkit on windows7, i observed that when i use "tab" key to complete a file/dir name converts into lower case. Eg: I am having a directory named "Dir1", note "D" is in caps. In unix if i had tried pressing "d" and "<tab>" resulted in no result. However in mksnt toolkit, it... (1 Reply)
Discussion started by: sarbjit
1 Replies

4. AIX

topas - computational memory 95% : Any Impact?

Hello Gurus, I am using AIX 5 and on running topas command. I can see the computational memory is 93.3% with Swap Paging memory at 2.2%. Could you please advise if there is any impact by the growth of computational memory? Below is the stat: MEMORY Real,MB 22528 % Comp 93.3 %... (12 Replies)
Discussion started by: panchpan
12 Replies

5. Cybersecurity

Computational complexity

This is a general question about the practical use of computational complexity in security. Wikipedia has a good article about the theoretical background of computational complexity. In the course of conversation with colleagues, a topic that is brought up occassionally is the security of any... (2 Replies)
Discussion started by: gratuitous_arp
2 Replies

6. UNIX for Dummies Questions & Answers

Script runs fine on UNIX Server...Not through MSK Tool kit on Windows Server

I have a .sh script which was running fine on all the UNIX Servers (AIX, SunSolaris). The script requires two mandatory parameters and many optional parameters. Now at a different client place who are on a Windows Server, when I try to execute the script through MKS Toolkit, there are couple of... (5 Replies)
Discussion started by: madhunk
5 Replies

7. Cybersecurity

Coroner's Tool Kit for HPUX?

Does anyone know the locacation of a version of the "Coroner's Tool Kit" or other utility for HP-UX 10.20 which can reconstruct files deleted by mistake but not backed up? Thanks (1 Reply)
Discussion started by: bs6
1 Replies
Login or Register to Ask a Question