libstdc++.so.5 in OpenSuse 11.4

When I compiled with ifort, it appeared the massage:

/opt/intel/Compiler/11.1/069/bin/intel64/fortcom: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory
ifort: error #10273: Fatal error in /opt/intel/Compiler/11.1/069/bin/intel64/fortcom, terminated by 0x7f

those libs such as libstdc++.so.6 are in /usr/lib, but is lake of libstdc++.so.5.

Where is it?

Also, as said before, it’s in the “compat-libstdc++-33” package

spooon in FC4 doesn’t have libstdc++.so.5 but libstdc++.so.6

繼續閱讀 libstdc++.so.5 in OpenSuse 11.4

GETFILEINFOQQ in ifort on 64bit

I accounted a problem with the GETFILEINFOQQ of ifort function such as

Lsac2Ssac_SubUse.f90(473): error #6284: There is no matching specific function for this generic function reference.   [GETFILEINFOQQ]
FnameLength=GETFILEINFOQQ(EventListfile,FileInfo,FileHandle)
--------------^

and it was a problem of declaration, the previous code was

type (File$Info) :: FileInfo
integer :: FnameLength, FileHandle
character(len=32) :: LSindexfile
!
FileHandle =file$first
FnameLength=GETFILEINFOQQ(EventListfile,FileInfo,FileHandle)
LSindexfile='LS'//FileInfo.name(3:FnameLength)

And in 64 bit machine, FileHandle should be declared as 8 bit and is suggested be declared as

INTEGER(INT_PTR_KIND())

繼續閱讀 GETFILEINFOQQ in ifort on 64bit

ifort inquire directory

ifort can inquire not only file but also directory!!

INQUIRE (DIRECTORY="results001",EXIST=exist2)

ref:
Re: How to determine whether or not there exists a directory

Intel XL Fortran V11.1 for Linux

P.S.

GETFILEINFOQQ
http://software.intel.com/en-us/forums/showthread.php?t=68621

SYSTEMQQ
http://titan.physx.u-szeged.hu/opt/intel/fc/9.1.036/include/ifport.f90
http://www.xlsoft.com/jp/products/intel/cvf/docs/vf-html_e/azsumm/rfsystmq.htm

change systemqq to system
http://mail.cse.ohio-state.edu/pipermail/mvapich-discuss/2006-October.txt

http://coding.derkeiler.com/Archive/Fortran/comp.lang.fortran/2007-01/msg00085.html