Changeset 2465
- Timestamp:
- 10/16/06 10:13:51 (14 years ago)
- Location:
- trunk/src/seismic_processing/hyp2000_mgr
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/seismic_processing/hyp2000_mgr/hyp2000_ew.for
r2324 r2465 9 9 c 10 10 !DEC$ ATTRIBUTES STDCALL :: hypo_ew 11 !DEC$ ATTRIBUTES REFERENCE :: iresr 11 12 integer strlen 12 13 parameter (strlen=80) … … 30 31 forstr = ' ' 31 32 c 33 c write(6,1000) 34 c write(6,1001) iresr 35 c write(6,1002) strn 36 1000 FORMAT ('made it into hypo2000_ew fortran code') 37 1001 FORMAT ('iresr=', I) 38 1002 FORMAT ('str=', A) 32 39 do i = 1, strlen 33 40 if ( ichar(strn.c(i)) .eq. 0 ) goto 10 -
trunk/src/seismic_processing/hyp2000_mgr/hyp2000_mgr.c
r2309 r2465 8 8 * Revision history: 9 9 * $Log$ 10 * Revision 1.5 2006/10/16 17:13:51 paulf 11 * intel 9.1 fixes 12 * 10 13 * Revision 1.4 2006/06/06 21:19:33 paulf 11 14 * upgraded for intel9 … … 819 822 if ( hypret != 1 ) 820 823 { 821 logit( "e", "\nhyp2000_mgr: Error occurred while executing <%s>. \n",822 cmd );824 logit( "e", "\nhyp2000_mgr: Error occurred while executing <%s>. Return i s %d\n", 825 cmd , hypret); 823 826 LogHypoError( hypret ); 824 827 return( -1 ); … … 846 849 **********************/ 847 850 #if defined(_WINNT_INTEL9) 848 extern void __stdcall hypo_ew( STRING 851 extern void __stdcall hypo_ew( STRING, int * ); 849 852 strcpy( outMsg.a, inMsg ); 853 *iresr=0; 850 854 hypo_ew( outMsg, iresr ); 855 /* fprintf(stderr, "DEBUG: after fortran call iresr=%d\n", *iresr); */ 851 856 #elif defined(_WINNT) 852 857 extern void __stdcall hypo_ew( STRING *, int * );
Note: See TracChangeset
for help on using the changeset viewer.