Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ifort 15.0 does not yet support F2008 syntax #5

Open
tclune opened this issue May 11, 2015 · 3 comments
Open

ifort 15.0 does not yet support F2008 syntax #5

tclune opened this issue May 11, 2015 · 3 comments

Comments

@tclune
Copy link

tclune commented May 11, 2015

The following is new syntax in F2008:

type (integer)

It is available in some compilers, but not others. Recommend using F2003 syntax for portability.

@citibeth
Copy link
Owner

Tom,

Where am I doing that?

Also note that I NEED help on the Fortran stuff, especially converting C
string to Fortran. The c_f_string_ptr module I pulled from somewhere else,
but it is not solving my problem.

-- Bob

On Mon, May 11, 2015 at 4:08 PM, tclune [email protected] wrote:

The following is new syntax in F2008:

type (integer)

It is available in some compilers, but not others. Recommend using F2003
syntax for portability.


Reply to this email directly or view it on GitHub
#5 (comment).

@tclune
Copy link
Author

tclune commented May 11, 2015

On May 11, 2015, at 4:13 PM, Bob Fischer [email protected] wrote:

Tom,

Where am I doing that?

E.g. line 85 in slib/fexception_f.F90:

type(logical) :: try

Also note that I NEED help on the Fortran stuff, especially converting C
string to Fortran. The c_f_string_ptr module I pulled from somewhere else,
but it is not solving my problem.

No problem. I’ve done the reverse on multiple occasions. Should be easy.

Unfortunately, I think robustness will require the string to be copied. OTOH, performance should not be an issue for these use cases.

  • Tom

-- Bob

On Mon, May 11, 2015 at 4:08 PM, tclune [email protected] wrote:

The following is new syntax in F2008:

type (integer)

It is available in some compilers, but not others. Recommend using F2003
syntax for portability.


Reply to this email directly or view it on GitHub
#5 (comment).


Reply to this email directly or view it on GitHub.

Thomas Clune, Ph. D. [email protected]
Head ASTG,Code 606
NASA GSFC
MS 610.8 B33-C128
Greenbelt, MD 20771
301-286-4635

@citibeth
Copy link
Owner

Thanks, removed it.
-- Bob

On Mon, May 11, 2015 at 4:17 PM, tclune [email protected] wrote:

On May 11, 2015, at 4:13 PM, Bob Fischer [email protected] wrote:

Tom,

Where am I doing that?

E.g. line 85 in slib/fexception_f.F90:

type(logical) :: try

Also note that I NEED help on the Fortran stuff, especially converting C
string to Fortran. The c_f_string_ptr module I pulled from somewhere
else,
but it is not solving my problem.

No problem. I’ve done the reverse on multiple occasions. Should be easy.

Unfortunately, I think robustness will require the string to be copied.
OTOH, performance should not be an issue for these use cases.

  • Tom

-- Bob

On Mon, May 11, 2015 at 4:08 PM, tclune [email protected]
wrote:

The following is new syntax in F2008:

type (integer)

It is available in some compilers, but not others. Recommend using
F2003
syntax for portability.


Reply to this email directly or view it on GitHub
<#5 (comment)
.


Reply to this email directly or view it on GitHub.

Thomas Clune, Ph. D. [email protected]
Head ASTG,Code 606
NASA GSFC
MS 610.8 B33-C128
Greenbelt, MD 20771
301-286-4635


Reply to this email directly or view it on GitHub
#5 (comment).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants