Sponsored Content
Top Forums UNIX for Advanced & Expert Users Need Help installing a Computational Tool Kit Post 95328 by dsmv on Tuesday 10th of January 2006 11:08:19 AM
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.
 

7 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

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. 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

6. 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

7. 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
isalist(5)																isalist(5)

NAME
isalist - the native instruction sets known to Solaris software The possible instruction set names returned by isalist(1) and the SI_ISALIST command of sysinfo(2) are listed here. The list is ordered within an instruction set family in the sense that later names are generally faster then earlier names; note that this is in the reverse order than listed by isalist(1) and sysinfo(2). In the following list of values, numbered entries generally represent increasing performance; lettered entries are either mutually exclusive or cannot be ordered. SPARC Platforms Where appropriate, correspondence with a given value of the -xarch option of Sun's C 4.0 compiler is indicated. Other compilers may have similar options. 1a. sparc Indicates the SPARC V8 instruction set, as defined in The SPARC Architecture Manual, Version 8, Prentice-Hall, Inc., 1992. Some instructions (such as integer multiply and divide, FSMULD, and all floating point operations on quad operands) may be emulated by the kernel on certain systems. 1b. sparcv7 Same as sparc. This corresponds to code produced with the -xarch=v7 option of Sun's C 4.0 compiler. 2. sparcv8-fsmuld Like sparc, except that integer multiply and divide must be executed in hardware. This corresponds to code produced with the -xarch=v8a option of Sun's C 4.0 compiler. 3. sparcv8 Like sparcv8-fsmuld, except that FSMULD must also be executed in hardware. This corresponds to code produced with the -xarch=v8 option of Sun's C 4.0 compiler. 4. sparcv8plus Indicates the SPARC V8 instruction set plus those instructions in the SPARC V9 instruction set, as defined in The SPARC Architecture Manual, Version 9, Prentice-Hall, 1994, that can be used according to The V8+ Technical Specification. This corresponds to code pro- duced with the -xarch=v8plus option of Sun's C 4.0 compiler. 5a. sparcv8plus+vis Like sparcv8plus, with the addition of those UltraSPARC I Visualization Instructions that can be used according to The V8+ Technical Specification. This corresponds to code produced with the -xarch=v8plusa option of Sun's C 4.0 compiler. 5b. sparcv8plus+fmuladd Like sparcv8plus, with the addition of the Fujitsu SPARC64 floating multiply-add and multiply-subtract instructions. 6. sparcv9 Indicates the SPARC V9 instruction set, as defined in The SPARC Architecture Manual, Version 9, Prentice-Hall, 1994. 7a. sparcv9+vis Like sparcv9, with the addition of the UltraSPARC I Visualization Instructions. 7b. sparcv9+vis2 Like sparcv9, with the addition of the UltraSPARC III Visualization Instructions. 7c. sparcv9+fmuladd Like sparcv9, with the addition of the Fujitsu SPARC64 floating multiply-add and multiply-subtract instructions. Platforms 1. i386 The Intel 80386 instruction set, as described in The i386 Microprocessor Programmer's Reference Manual. 2. i486 The Intel 80486 instruction set, as described in The i486 Microprocessor Programmer's Reference Manual. (This is effectively i386, plus the CMPXCHG, BSWAP, and XADD instructions.) 3. pentium The Intel Pentium instruction set, as described in The Pentium Processor User's Manual. (This is effectively i486, plus the CPU_ID instruction, and any features that the CPU_ID instruction indicates are present.) 4. pentium+mmx Like pentium, with the MMX instructions guaranteed present. 5. pentium_pro The Intel PentiumPro instruction set, as described in The PentiumPro Family Developer's Manual. (This is effectively pentium, with the CMOVcc, FCMOVcc, FCOMI, and RDPMC instructions guaranteed present.) 6. pentium_pro+mmx Like pentium_pro, with the MMX instructions guaranteed present. 7. amd64 The AMD Opteron instruction set, as described in the AMD64 Architecture Programmer's Manual. isalist(1), sysinfo(2) 6 Jan 2005 isalist(5)
All times are GMT -4. The time now is 07:23 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy