Computers in Engineering - 308-208 Lecture 3
Computers in Engineering - 308-208


Lesson 3 - Learning Goals



3.1 Learn what a Computer Network is

3.2 Learn what EMF is

3.4 Learn how to use Fortran Compiler



What is a network

What is a network?

  1. A method of connecting computers together using wires
  2. LAN - Local Area Network
    1. Interconnected computers
    2. Limited area (i.e. same room, floor, building or group of buildings)
    3. Physical wire from back of each computer to server
    4. Information and or programs placed on server is shared by all
    5. The server is a regular computer that manages communication

  3. WAN - Wide Area Network
    1. Similar to a LAN but not interconnected by wire
    2. Connection via modem, satellite dish, microwaves, etc.
    3. Limitless area (neighbourhoods, countries, space)

  4. Internet
    1. An example of a WAN
    2. Uses modem interconnection between a PC and a server
    3. Hierarchy of servers (e.g. e-mail, web pages, ftp)

  5. NT
    1. An example of a WAN
    2. Uses modem interconnection between a PC and a server
    3. Hierarchy of servers (e.g. e-mail, web pages, ftp)

  6. NT
    1. An example of a LAN
    2. Uses wires to interconnect local PCs with an NT server (uses Windows)

  7. Novell
    1. An example of a LAN
    2. Uses wires to interconnect local PCs with a server (uses DOS and Windows)

What is EMF?

  1. EMF is McGill's local area network password control system
  2. The labs are located in G15 and FDA 1 (others will be coming on line)
  3. Must register and get a user name and password in G15 (basement of Adams build ing)
  4. With the password you will be able to access all the computer resources in G15 and FDA 1
  5. EMF system is based on a Windows NT architecture
    1. This means a windows interface
    2. You will receive your own directory on the server (normally called H: ) where you can keep all your assignments and work.
    3. You will have access to both the Windows, DOS and Internet environments with t his account.

How to Use the Fortran Compiler

How to Use the Fortran Compiler

  1. Enter your password and user id to login
  2. Now you have access to Windows
  3. Press the START button and:
    1. Select Applications, then
    2. Select Compilers, then
    3. Select Lahey Drive Mappings
    4. Note that there are three Lahey but only one says drive mappings
    5. This gives you a DOS windows at drive H.
    6. Drive H is your space on the server
    7. Fortran Lahey is a DOS compiler and must run under a DOS window

  4. You can now create your first program using Window's NOTEPAD editor:
    1. From START select programs and then accessories and then NOTEPAD.
    2. Write your program
    3. Select FILE and SAVE within NOTEPAD.
    4. Select drive H and give a name to your program: Ass1.f90
    5. Press OKAY to save.
    6. Close NOTEPAD by selecting FILE and then EXIT.

  5. To compile your program do:
    1. Use the mouse to select the DOS window that is already open
    2. Type DIR to confirm your file was saved in H
    3. Compile with ELF90 ASS1
    4. If there are errors correct with NOTEPAD
    5. Once there are no errors then run your program (e.g. type ASS1)
    6. Store output (e.g. ASS1 > ass1.out)
    7. Verify all is okay with DIR.

  6. Submit your assignment using the Internet
    1. Active the Internet browser (either IE or NETSCAPE)
    2. Access VisualCM using address HTTP://TINTIN.MPG2.MCGILL.CA/VCM/LOGIN.ASP
    3. Register your name and password (do this once)
    4. Login
    5. Select the course
    6. Select which assignment box to send to
    7. Select the files you want to send from your H drive
    8. Select submit - and everything is done for you
    9. You will receive e-mail confirming the delivery.

~