[MOAB-dev] r5863 - MOAB/trunk/examples/itaps

iulian at mcs.anl.gov iulian at mcs.anl.gov
Mon Nov 12 15:56:17 CST 2012


Author: iulian
Date: 2012-11-12 15:56:17 -0600 (Mon, 12 Nov 2012)
New Revision: 5863

Modified:
   MOAB/trunk/examples/itaps/ListSetsNTagsF90.F90
Log:
intel fortran does not like return in main program
why? 
the error is:
error #6353: A RETURN statement is invalid in the main program.


Modified: MOAB/trunk/examples/itaps/ListSetsNTagsF90.F90
===================================================================
--- MOAB/trunk/examples/itaps/ListSetsNTagsF90.F90	2012-11-10 19:09:50 UTC (rev 5862)
+++ MOAB/trunk/examples/itaps/ListSetsNTagsF90.F90	2012-11-12 21:56:17 UTC (rev 5863)
@@ -120,6 +120,6 @@
     call iMesh_dtor(%VAL(mesh), err)
     ERRORR("Failed to destruct interface.")
 
-    return
+!    return
   end program ListSetsNTags
 



More information about the moab-dev mailing list