- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Another Fortran compiler uses the values below for constants defined in the ISO_FORTRAN_ENV module of Fortran 2003. What are the corresponding values for Intel Visual Fortran? Thanks.
module ISO_FORTRAN_ENV
 implicit NONE
 public
 integer, parameter :: Character_Storage_Size = 8
 integer, parameter :: Error_Unit = 0
 integer, parameter :: File_Storage_Size = 8
 integer, parameter :: Input_Unit = 5
 integer, parameter :: IOSTAT_END = -1
 integer, parameter :: IOSTAT_EOR = -2
 integer, parameter :: Numeric_Storage_Size = 32
 integer, parameter :: Output_Unit = 6
end module ISO_FORTRAN_ENV
Link Copied
		1 Reply
	
		
		
			
			
			
					
	
			- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
			
				
					
					
						At the present time, it is not possible to give "correct" values for Intel Visual Fortran because the values for Input_Unit and Output_Unit would be negative which is not allowed. In a future version, we will support this intrinsic module fully and the values listed above will be correct for Intel Fortran as well.
As long as you don't assume that READ * and WRITE * use units 5 and 6, you'll generally be ok.
					
				
			
			
				
			
			
			
			
			
			
			
		
		
		
	
	
	
As long as you don't assume that READ * and WRITE * use units 5 and 6, you'll generally be ok.
 
					
				
				
			
		
					
					Reply
					
						
	
		
				
				
				
					
						
					
				
					
				
				
				
				
			
			Topic Options
			
				
					
	
			
		
	- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
