From: Harry (HBELL) [#1]
18 Dec 2007
To: ALL
I had written an application several years ago with CVF 6.6 and XFLOGM2. How do I port this application to IVF 9.0 with XEFFORT? I have downloaded your Xeffort package. Now do I add all the xeffort modules to my project then globally replace all instances of "use xflogm2" with "use xeffort", or (I noticed the Xeffort package also has an XFLOGM2) do I just leave the instances of "use xflogm2" unaltered? Second question: I think I made 2 or 3 edits to my old version of XFLOGM2.f90. Would it be a simple matter to locate those corresponding places in XEFFORT? Do you have any ideas on going from a slightly altered version of the old XFLOGM2 to a slightly altered version of XEFFORT?
Harry
From: xeffort [#2]
18 Dec 2007
To: Harry (HBELL) [#1] 18 Dec 2007
you sure you have2 you sure you have2 you sure you have2 you sure you have2 you sure you have2 you sure you have2 you sure you have2 you sure you have2 you sure you have2 you sure you have2 you sure you have2 you sure you have2 you sure you have2 you sure you have2 you sure you have2 you sure you have2 you sure you have2 you sure you have2 you sure you have2 you sure you have2 you sure you have2 you sure you have2 you sure you have2 you sure you have2 you sure you have2 you sure you have2 you sure you have2 you sure you have2 you sure you have2 you sure you have2 you sure you have2 you sure you have2 you sure you have2 you sure you have2 you sure you have2 you sure you have2 you sure you have2 you sure you have2
From: Harry (HBELL) [#3]
18 Dec 2007
To: xeffort [#2] 18 Dec 2007
I must have coincidentally renamed XFLOGM to XFLOGM2 years ago (to indicate it had some differences from XFLOGM). So do I leave the lines "use XFLOGM2" in my code unchanged (since XEFFORT contains a XFLOGM2 module that apparently is for the purpose of migrating from XFLOGM users to XEFFORT)?
Harry
From: xeffort [#4]
18 Dec 2007
To: Harry (HBELL) [#3] 19 Dec 2007
So do I leave the lines "use XFLOGM2" in my code unchanged?
At the risk of adding to confusion, XFLOGM2.f90 is the name of the source file (the one from Xeffort), but it contains MODULE XFLOGM (without the "2"), so that people shouldn't do find/replace when porting. B-) I couldn't have predicted the sort of situation you have. So, you should either do find/replace, or just add a
MODULE XFLOGM2
USE XFLOGM
END MODULE
somewhere.
From: Harry (HBELL) [#5]
19 Dec 2007
To: xeffort [#4] 19 Dec 2007
Sorry, but this is getting confusing. We can't drop the thread in this condition! I think I understood until after the last comma (let's forget that option). Let's assume for now that I had never altered XFLOGM.f90 and that I have lines "use xflogm" throughout my source code. If this were the case, would I need to make no changes to my code, and in my project simply replace the old XFLOGM.F90 source file with your new XFLOGM2.f90 and add the other necessary associated XEFFORT modules and library?
Harry
From: xeffort [#6]
19 Dec 2007
To: Harry (HBELL) [#5] 19 Dec 2007
ss="quotetext" id2 Y ss="quotetext" id2 Y ss="quotetext" id2 Y ss="quotetext" id2 Y ss="quotetext" id2 Y ss="quotetext" id2 Y ss="quotetext" id2 Y ss="quotetext" id2 Y ss="quotetext" id2 Y ss="quotetext" id2 Y ss="quotetext" id2 Y ss="quotetext" id2 Y ss="quotetext" id2 Y ss="quotetext" id2 Y ss="quotetext" id2 Y ss="quotetext" id2 Y ss="quotetext" id2 Y ss="quotetext" id2 Y ss="quotetext" id2 Y ss="quotetext" id2 Y ss="quotetext" id2 Y ss="quotetext" id2 Y ss="quotetext" id2 Y ss="quotetext" id2 Y ss="quotetext" id2 Y
From: Harry (HBELL) [#7]
19 Dec 2007
To: xeffort [#6] 19 Dec 2007
Thanks Jugoslav! The path is clear now.
Harry
From: Harry (HBELL) [#8]
5 Jan 2008
To: Harry (HBELL) [#7] 5 Jan 2008
I had been getting clean compiles using xeffort.lib and Intel Visual Fortran 9.0. Now that I just upgraded to IVF 10.1 (build 13) the compiler fails at the "use XFLOGM" line. I have included xeffort.lib in the list of lib files yet for some reason it doesn't know to look in xeffort.lib for this module. Does XEFFORT work with this latest IVF version? Any clue what's going on or how to fix it? Perhaps I need to re-compile XFLOGM.MOD?
Harry Bell
From: Harry (HBELL) [#9]
6 Jan 2008
To: Harry (HBELL) [#8] 6 Jan 2008
I resolved this issue by adding the Xeffort Lib and include folders to the IVF project environment variables. That is, add these two Xeffort paths to those at Tools/Options/Intel(R) Fortran/Compilers.
Harry Bell