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
DH_INSTALLEXAMPLES(1)						     Debhelper						     DH_INSTALLEXAMPLES(1)

NAME
dh_installexamples - install example files into package build directories SYNOPSIS
dh_installexamples [debhelperoptions] [-A] [-Xitem] [file...] DESCRIPTION
dh_installexamples is a debhelper program that is responsible for installing examples into usr/share/doc/package/examples in package build directories. From debhelper compatibility level 11 on, dh_install will fall back to looking in debian/tmp for files, if it does not find them in the current directory (or wherever you've told it to look using --sourcedir). FILES
debian/package.examples Lists example files or directories to be installed. OPTIONS
-A, --all Install any files specified by command line parameters in ALL packages acted on. --sourcedir=dir Look in the specified directory for files to be installed. This option requires compat 11 or later (it is silently ignored in compat 10 or earlier). Note that this is not the same as the --sourcedirectory option used by the dh_auto_* commands. You rarely need to use this option, since dh_installexamples automatically looks for files in debian/tmp in debhelper compatibility level 11 and above. --doc-main-package=main-package Set the main package for a documentation package. This is used to install the documentation of the documentation package in /usr/share/doc/main-package as recommended by the Debian policy manual 3.9.7 in S12.3. In compat 11 (or later), this option is only useful if debhelper's auto-detection of the main package is wrong. The option can also be used to silence a warning from debhelper when the auto-detection fails but the default happens to be correct. This option cannot be used when dh_installexamples is instructed to act on multiple packages. If you need this option, you will generally need to combine it with -p to ensure exactly one package is acted on. -Xitem, --exclude=item Exclude files that contain item anywhere in their filename from being installed. file ... Install these files (or directories) as examples into the first package acted on. (Or into all packages if -A is specified.) NOTES
Note that dh_installexamples will happily copy entire directory hierarchies if you ask it to (similar to cp -a). If it is asked to install a directory, it will install the complete contents of the directory. SEE ALSO
debhelper(7) This program is a part of debhelper. AUTHOR
Joey Hess <joeyh@debian.org> 11.1.6ubuntu2 2018-05-10 DH_INSTALLEXAMPLES(1)
All times are GMT -4. The time now is 07:41 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy