Problems with installation of lapack on fedor : Fortran
This is a discussion on Problems with installation of lapack on fedor within the Fortran forums in Programming Languages category; hello every one,I had a problem with installation of lapack on Fedor os,I can't solve it,please help me! here is the make.inc file: # -*- Makefile -*- #################################################################### # LAPACK make include file. # # LAPACK, Version 3.2.1 # # April 2009 # #################################################################### # # See the INSTALL/ directory for more examples. # SHELL = /bin/sh # # The machine (platform) identifier to append to the library names # PLAT = _LINUX # # Modify the FORTRAN and OPTS definitions to refer to the # compiler and desired compiler options for your machine. NOOPT # refers to the compiler ...
![]() |
| | LinkBack | Thread Tools |
|
#1
| |||
| |||
| here is the make.inc file: # -*- Makefile -*- #################################################################### # LAPACK make include file. # # LAPACK, Version 3.2.1 # # April 2009 # #################################################################### # # See the INSTALL/ directory for more examples. # SHELL = /bin/sh # # The machine (platform) identifier to append to the library names # PLAT = _LINUX # # Modify the FORTRAN and OPTS definitions to refer to the # compiler and desired compiler options for your machine. NOOPT # refers to the compiler options desired when NO OPTIMIZATION is # selected. Define LOADER and LOADOPTS to refer to the loader # and desired load options for your machine. # FORTRAN = gfortran -fimplicit-none -g OPTS = DRVOPTS = $(OPTS) NOOPT = LOADER = gfortran -g LOADOPTS = # # Timer for the SECOND and DSECND routines # # Default : SECOND and DSECND will use a call to the EXTERNAL FUNCTION ETIME # TIMER = EXT_ETIME # For RS6K : SECOND and DSECND will use a call to the EXTERNAL FUNCTION ETIME_ # TIMER = EXT_ETIME_ # For gfortran compiler: SECOND and DSECND will use a call to the INTERNAL FUNCTION ETIME # TIMER = INT_ETIME # If your Fortran compiler does not provide etime (like Nag Fortran Compiler, etc...) # SECOND and DSECND will use a call to the Fortran standard INTERNAL FUNCTION CPU_TIME TIMER = INT_CPU_TIME # If neither of this works...you can use the NONE value... In that case, SECOND and DSECND will always return 0 # TIMER = NONE # # The archiver and the flag(s) to use when building archive (library) # If you system has no ranlib, set RANLIB = echo. # ARCH = ar ARCHFLAGS= cr RANLIB = ranlib # # The location of BLAS library for linking the testing programs. # The target's machine-specific, optimized BLAS library should be # used whenever possible. # BLASLIB = ../../blas$(PLAT).a # # Location of the extended-precision BLAS (XBLAS) Fortran library # used for building and testing extended-precision routines. The # relevant routines will be compiled and XBLAS will be linked only if # USEXBLAS is defined. # # USEXBLAS = Yes XBLASLIB = # XBLASLIB = -lxblas # # Names of generated libraries. # LAPACKLIB = lapack$(PLAT).a TMGLIB = tmglib$(PLAT).a EIGSRCLIB = eigsrc$(PLAT).a LINSRCLIB = linsrc$(PLAT).a after "make",the final output is: gfortran: ../../blas_LINUX.a: No such file or directory make[2]: *** [../xlintsts] Error 1 make[2]: Leaving directory `/home/p/d/ywzhong/lapack-3.2.1/TESTING/LIN' make[1]: *** [xlintsts] Error 2 make[1]: Leaving directory `/home/p/d/ywzhong/lapack-3.2.1/TESTING' make: *** [lapack_testing] Error 2 I ignored these,and try to compile 578.f90: gfortran -o 578.f90 lapack_LINUX.a the output is: usr/lib/gcc/i386-redhat-linux/4.3.2/libgfortranbegin.a(fmain.o): In function `main': (.text+0x35): undefined reference to `MAIN__' collect2: ld returned 1 exit status I am confused,please tell me how to solve it,thank you! |
|
#2
| |||
| |||
| Dear friends: I have the experience, but i remembered that the lapack is one of the default installed package for the linux system. Check your /usr/lib or /usr/local/lib for lapack.a. good lucky to you. Regards |
![]() |
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Lapack(?): Solving X*A=B? | usenet | Fortran | 1 | 11-04-2008 10:38 AM |
| using a lapack routine | usenet | Fortran | 10 | 09-22-2008 09:13 PM |
| I have a qustion about Lapack | usenet | Fortran | 5 | 04-13-2008 12:33 AM |
| EP Installation Problems - Advanced wss 3.0 installation | usenet | Axapta | 1 | 03-04-2008 07:51 AM |
| Swing runtime problems / Java installation problems | usenet | Java | 9 | 09-21-2007 10:24 PM |



