############################################################### # Building 'newt2' and sample output on Cray J90 ############################################################### ############################################################### # First note that you should be able to 'rlogin' to the # 'phas761' account on charon directly from your accounts # on einstein. Also note that on the SGI machines you # can use 'charon' as an abbreviation for 'charon.cc.utexas.edu' # with 'rlogin', 'rcp', 'telnet', 'ftp', etc. ############################################################### einstein% rlogin charon.cc.utexas.edu -l phas761 The University of Texas at Austin High Performance Computing Facility Academic Computing and Instructional Technology Services *** UNAUTHORIZED ACCESS PROHIBITED *** . . . charon% ls PHY329/ doc/ jennifer/ matt/ rmahaffy/ timbertk/ ambrose/ iliani/ lib/ metzler/ sd xyzhang/ asbreu/ iolabar/ lischka/ phy329/ shawley/ xzhao/ charon% cd matt/nonlin ############################################################### # Get source and Makefile from 'einstein' using 'ftp' ############################################################### charon% ftp einstein.ph.utexas.edu Connected to einstein.ph.utexas.edu. 220 einstein.ph.utexas.edu FTP server ready. Remote system type is UNIX. Using binary mode to transfer files. Name (einstein.ph.utexas.edu:phas761): matt 331 Password required for matt. Password: 230 User matt logged in. ftp> cd /Public/Members/matt/Teaching/97Spring/Phy381C/Doc/nonlin/ex3 250 CWD command successful. ftp> get newt2.f 200 PORT command successful. 150 Opening BINARY mode data connection for 'newt2.f' (7689 bytes). 226 Transfer complete. 7689 bytes received in 0.0046 seconds (1.6e+03 Kbytes/s) ftp> get Makefile 200 PORT command successful. 150 Opening BINARY mode data connection for 'Makefile' (712 bytes). 226 Transfer complete. 712 bytes received in 0.0014 seconds (4.8e+02 Kbytes/s) ftp> quit 221 Goodbye. charon% ls Makefile newt2.f ############################################################### # Build the application. See ~/.cshrc on the 'phas761' # account for setting of environment variables used in # communication with 'make'. In particular, note that 'F77PP' # is set to 'f77transcray' which is a script I have written # to translate real*8 SGI programs to single-precision # (also 8-byte) Cray Fortran. Be particularly careful to # always use 'd0' notation for constants in the original (SGI) # source. ############################################################### charon% make f77transcray newt2.f f77transcray: Translating newt2.f cf77 -g -c newt2.f cf77 -g -L/hpcf/u0/ph/as/phas761/lib newt2.o \ -lp329f -llapack -o newt2 ############################################################### # 'newt2' built successfully, execution on Cray is virtually # identical to execution on SGI, except for extra messages # written to stderr following execution of FORTRAN 'stop'. ############################################################### charon% newt2 usage: newt2 [] STOP executed at line 162 in Fortran routine 'NEWT2' CPU: 0.005s, Wallclock: 0.009s, 10.5% of 5-CPU Machine Memory HWM: 206324, Stack HWM: 6401, Stack segment expansions: 0 ############################################################### # Start with initial guess (1.0,1.0) and use default tolerance ############################################################### charon% newt2 1.0 1.0 Iter x y log10(dx) log10(res) 1 -3.2999966453608920E-02 1.4010001006391660E+00 -0.11 0.70 2 3.7660093320946860E-01 2.2207017966697430E+00 -0.19 -0.40 3 2.6508349149835730E-01 1.9187667230923040E+00 -0.64 -0.30 4 2.7416951525985480E-01 1.9092166705387110E+00 -2.03 -1.19 5 2.7423631305849300E-01 1.9092977465351660E+00 -4.13 -3.95 6 2.7423631371214610E-01 1.9092977458408380E+00 -9.17 -8.33 0.2742363137121462, 1.909297745840838 STOP executed at line 158 in Fortran routine 'NEWT2' CPU: 0.010s, Wallclock: 0.023s, 8.6% of 5-CPU Machine Memory HWM: 206327, Stack HWM: 6401, Stack segment expansions: 0