Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

trouble with open command ??

severs
Beginner
741 Views
I have inhereted legacy code and am porting it to a PC using CVF 6.1. I am getting the following error on this line of code:

open (unit=5,name=file1:lroot)//'m.m'
,type='new',creator='MATL')

with the following error:

Error: This input/output keyword is invalid. [CREATOR]

I have this error appear a few times in the code. I tried using help which gave told me to use CreatorName it didn't work either. I am trying to create a matlab file. Any help is appreciated
0 Kudos
1 Reply
Steven_L_Intel1
Employee
741 Views
I'm guessing that Creator and/or CreatorName was an extension for the particular implementation of Fortran this code was originally written for. CVF does not support such an option, nor can I reasonably guess what it should do. I suggest simply removing it from the various OPENs and see if the program does what you want.

I also suggest replacing the non-standard TYPE= with STATUS=. and the non-standard NAME= with FILE=.

Steve
0 Kudos
Reply