Hi
I am new to the use of LAPACK (CXML for CVF V6.6). I managed to install CXML and successfully run the free-form example (as supplied) calling SAXPY and it worked fine without any hitch. However when I tried to invoke another subroutine DGELSY, it gives the linking error
Compiling Fortran...
D:\D830_MyDocuments\SkidDesign\GELSY_TEST\GELSY.F
Linking...
GELSY.OBJ : error LNK2001: unresolved external symbol _DGELSY@48
Debug/GELSY_TEST.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
[code][/code]
GELSY_TEST.exe - 2 error(s), 0 warning(s)
It appears that the routine cannot be found within CXML. Can anyone suggest how to get around it? I'm sorry if this sounds daft. The environmental setting is identical to the case using SAXPY and the full program listing is shown below.
PROGRAM GELSY
INCLUDE 'CXML_INCLUDE.F90'
DOUBLEPRECISION A(3,2),B(3),RCOND,WORK(9)
INTEGER JVPT(2),RANK
M=3
N=2
NRHS=1
LDA=3
LDB=3
RANK=0
LWORK=9
INFO=0
RCOND=1.D-10
RANK =0
LWORK=9
CALL DGELSY(M,N,NRHS,A,LDA,B,LDB,JVPT,RCOND,RANK,LWORK,INFO)
IF(INFO.EQ.0) THEN
write(3,3010) (b(j),j=1,3)
3010 format('The solution is ',3f10.4)
ELSE
WRITE(3,*) 'DGELSY failed!'
ENDIF
STOP
END
Also is there anywhere I could find example input/output associated with each of the routines available so that I could get some confidence in using the routine?
I am grateful if anyone can help.
Regards,
Jacky

