Array index order in loops not behaving as expected slow/fast.
Language English I realize that F90 gives us some array operations but just trying to figure this out. Old school thinking has us looping over the last array index in the outer most loop to address...
View ArticleDifferences in GCC and ICC compiled objects? re: relocatable.
Language English Compiling a C module in with a large app (>2GB data) and getting relocatable errorswith GCC and not ICC. Linking with the ICC compiled object is no problem. We need this to work...
View ArticleVery large structs GCC ok, ICC seg fault, simple example.
Language English We have a very large structure ~10GB. GCC does not seem to have a problem with it but ICC is seg faulting. I've boiled it down to simple assignment statements. Any ideas? Files...
View ArticlePassing strings, C and Fortran 11.x vs 12.x differences?
Language English Behaviour of passing strings between C and Fortran is changing? Following code gives different results between 11.x and 12.x versions if icc/ifort. C main calling Fortran sub...
View Articlehelp, relocation truncated to fit R_X86_64_PC32 against symbol
Language English Hi, trying to compile software, having problems.My code compiles and runs fine on an itanium system running SLES 10.3 with intel fortran 11.1.075 and MKL 10.2.7.041 using the link line...
View Articlefpic and mcmodel ifort 11 clarification, static libs >2GB data
Language English I've read though other posts that seem to indicate a lot of confusion on the use of -fpic/fPIC and mcmodel= flags especiallywith static libs. I understand that -fpic is needed for...
View Articleifort switch to show ld invoke commands?
Language English Swear I used this once but can't find it now. Is there an ifort switch to force showing it invoking ld() and all commands passed to ld()?
View ArticleExamine objects to determine memory model, relocatable?
Language English Is there a way to examine an object (.o or collection .a)and know what memory model they were compiled with? Or,if they are compiled as being relocatable?I've looked at readelf but...
View Articleexit codes to shell from main? exit()?
Language English What is the correct way to pass exit codes from a FORTRAN main to the calling shell?In the past we've used: call exit(icode) where icode is an integer byte.call exit() seems to work...
View Articleexit codes to shell from main? exit()?
What is the correct way to pass exit codes from a FORTRAN main to the calling shell?In the past we've used: call exit(icode) where icode is an integer byte.call exit() seems to work fine but there is...
View Articlehelp, relocation truncated to fit R_X86_64_PC32 against symbol
Hi, trying to compile software, having problems.My code compiles and runs fine on an itanium system running SLES 10.3 with intel fortran 11.1.075 and MKL 10.2.7.041 using the link line as told by mkl...
View Articlefpic and mcmodel ifort 11 clarification, static libs >2GB data
I've read though other posts that seem to indicate a lot of confusion on the use of -fpic/fPIC and mcmodel= flags especiallywith static libs. I understand that -fpic is needed for shared libs. We are...
View ArticleExamine objects to determine memory model, relocatable?
Is there a way to examine an object (.o or collection .a)and know what memory model they were compiled with? Or,if they are compiled as being relocatable?I've looked at readelf but doesn't give me...
View Articleifort switch to show ld invoke commands?
Swear I used this once but can't find it now. Is there an ifort switch to force showing it invoking ld() and all commands passed to ld()?
View ArticleDifferences in GCC and ICC compiled objects? re: relocatable.
Compiling a C module in with a large app (>2GB data) and getting relocatable errorswith GCC and not ICC. Linking with the ICC compiled object is no problem. We need this to work with both. What...
View ArticlePassing strings, C and Fortran 11.x vs 12.x differences?
Behaviour of passing strings between C and Fortran is changing? Following code gives different results between 11.x and 12.x versions if icc/ifort. C main calling Fortran sub passing in...
View ArticleVery large structs GCC ok, ICC seg fault, simple example.
We have a very large structure ~10GB. GCC does not seem to have a problem with it but ICC is seg faulting. I've boiled it down to simple assignment statements. Any ideas? Files attached. If we don't...
View ArticleArray index order in loops not behaving as expected slow/fast.
I realize that F90 gives us some array operations but just trying to figure this out. Old school thinking has us looping over the last array index in the outer most loop to address memory...
View ArticleCompiler options to maximize consistency of results btwn Intel/AMD CPUs
Have a large code, Fortran/CC, Linux. What options can be used to maximize the computatational consistnency between the cpu's. Basically we compile/run on two different machines one with AMD and one...
View Article