Include File Rules

5
8/20/2019 Include File Rules http://slidepdf.com/reader/full/include-file-rules 1/5 INCLUDE FILES AND REMOTE SUBMITTALS It is generally recommended for remote submission that all necessary files to be transferred to the remote host should reside in the user’s current Windows 2000 working directory. For example, if your data files have “include” statements, the include files should also reside in the same directory as your data files. For large data sets or large include files, this is not the optimal way of submitting remote  jobs. In many companies, the network system is composed of several large file servers: a  possible combination of Windows, UNIX and/or Linux machines. A typical user will use these servers to store data files instead of his/her local workstation. The real problem for remote submittal is how to tell the simulator where to get its files for simulation. Windows machines can presently see UNIX/Linux disk and file systems if a 3 rd  party application like SAMBA or NetAPPS is running on the UNIX/Linux machine and sharing directories via Server Message Block (SMB) format. UNIX/Linux machines can normally see each other disk and file systems via Network File System (NFS) and Window machines can normally see other Window machines disk and files systems via SMB. Sharing is available for UNIX, Linux and Windows machines only if properly read/write/export permissions are setup on each server. In the UNIX/Linux world, a user would specify a file’s fully qualified path on a remote  NFS machine. For example, if the remote machine is named ABC and the location of asciifile1.dat is on the disk  /i nstal l 1 , a user would use the fully qualified path to cd to the remote and machine and disk and cat the file: cd /net/export/home/ABC/install1 cat asciifile1.dat In the Windows world, a user can get to other SMB machines and files by using the full Universal Naming Convention (UNC) path name. If SAMBA is running on a UNIX/Linux machine, a user can mount their drives and get to the files on their disks by also specifying the full UNC path name. UNIX/Linux machines cannot see non-NFS mounted Window machines’ file systems, as are the default on Windows Workstations and Servers.

Transcript of Include File Rules

Page 1: Include File Rules

8/20/2019 Include File Rules

http://slidepdf.com/reader/full/include-file-rules 1/5

INCLUDE FILES AND REMOTE SUBMITTALS

It is generally recommended for remote submission that all necessary files to betransferred to the remote host should reside in the user’s current Windows 2000 working

directory. For example, if your data files have “include” statements, the include filesshould also reside in the same directory as your data files.

For large data sets or large include files, this is not the optimal way of submitting remote

 jobs. In many companies, the network system is composed of several large file servers: a

 possible combination of Windows, UNIX and/or Linux machines. A typical user will usethese servers to store data files instead of his/her local workstation. The real problem for

remote submittal is how to tell the simulator where to get its files for simulation.

Windows machines can presently see UNIX/Linux disk and file systems if a 3rd

 partyapplication like SAMBA or NetAPPS is running on the UNIX/Linux machine and

sharing directories via Server Message Block (SMB) format. UNIX/Linux machines can

normally see each other disk and file systems via Network File System (NFS) andWindow machines can normally see other Window machines disk and files systems viaSMB. Sharing is available for UNIX, Linux and Windows machines only if properly

read/write/export permissions are setup on each server.

In the UNIX/Linux world, a user would specify a file’s fully qualified path on a remote

 NFS machine. For example, if the remote machine is named ABC and the location ofasciifile1.dat is on the disk /instal l1 , a user would use the fully qualified path to cd to theremote and machine and disk and cat the file:

cd /net/export/home/ABC/install1

cat asciifile1.dat

In the Windows world, a user can get to other SMB machines and files by using the full

Universal Naming Convention (UNC) path name. If SAMBA is running on aUNIX/Linux machine, a user can mount their drives and get to the files on their disks by

also specifying the full UNC path name.

UNIX/Linux machines cannot see non-NFS mounted Window machines’ file systems, as

are the default on Windows Workstations and Servers.

Page 2: Include File Rules

8/20/2019 Include File Rules

http://slidepdf.com/reader/full/include-file-rules 2/5

Typical configuration:

Job Submittal Machine(Win2k)

File Server File Server

(Unix/Linux) (Win2k)

Simulation Machine Simulation Machine

(Unix/Linux) (Win2k)

Page 3: Include File Rules

8/20/2019 Include File Rules

http://slidepdf.com/reader/full/include-file-rules 3/5

JOB SUBMISSION GUIDELINES

Type ofubmission

Location ofWorkingDirectory

Location of INCLUDE FilesType of

ReferenceWill itWork?

Include Example Assumptions and Restrictions

Local Local Working Directory None Yes Include abc.inc

Win2k Win2k Direct Yes Include D:\workingDir\abc.inc

Machine Job UNC Yes Include \\localName\sharedWorkingDir\abc.inc The directory must be properly shared

Machine Another Directory Direct Yes Include D:\dirName\abc.inc

( Job Machine ) UNC Yes Include \\localName\sharedDir\abc.inc The directory must be properly shared

Remote Win2k Dir Direct Yes Include S:\sharedDir\abc.inc The Directory must be Mapped on the Local Machine as S:\

UNC Yes Include \\remoteName\sharedDir\abc.inc The directory must be properly shared

Remote Unix/Linux Dir Direct Yes Include S:\sharedDir\abc.inc The Directory must be Mapped on the Local Machine as S:\

UNC Yes Include \\remoteName\sharedDir\abc.inc The Directory must be properly Shared via SMB

NFS No Include /net/export/remoteName/dirName/abc.inc The Job Machine can not reach NFS mappings ( /net/export . . . )

Remote Working Directory None Yes Include abc.inc

Win2k Direct Yes Include S:\sharedWorkingDir\abc.inc The Directory must be Mapped on the Local Machine as S:\

Machine UNC Yes Include \\machineName\sharedWorkingDir\abc.inc The directory must be properly shared

Another Directory Direct Yes Include S:\sharedDir\abc.inc The Directory must be Mapped on the Local Machine as S:\

( Working Dir Machine ) UNC Yes Include \\machineName\sharedDir\abc.inc The directory must be properly shared

Another Directory Direct Yes Include D:\dirName\abc.inc

( Submittal Machine ) UNC Yes Include \\localName\sharedDir\abc.inc The directory must be properly shared

Remote Win2k Dir Direct Yes Include S:\sharedDir\abc.inc The Directory must be Mapped on the Local Machine as S:\

UNC Yes Include \\remoteName\sharedDir\abc.inc The directory must be properly shared

Remote Unix/Linux Dir Direct Yes Include S:\sharedDir\abc.inc The Directory must be Mapped on the Local Machine as S:\

UNC Yes Include \\remoteName\sharedDir\abc.inc The Directory must be properly Shared via SMB

NFS No Include /net/export/remoteName/dirName/abc.inc The Job Machine can not reach NFS mappings ( /net/export . . . )

Remote Working Directory None Yes Include abc.inc

Unix/Linux Direct Yes Include S:\sharedWorkingDir\abc.inc The Directory must be Mapped on the Local Machine as S:\

Machine UNC Yes Include \\machineName\sharedWorkingDir\abc.inc The directory must be properly shared

NFS No Include /workingDir/abc.inc The Job Machine can not reach NFS mappings ( /net/export . . . )

Another Directory Direct Yes Include S:\sharedDir\abc.inc The Directory must be Mapped on the Local Machine as S:\

( Working Dir Machine ) UNC Yes Include \\machineName\sharedDir\abc.inc The directory must be properly shared

NFS No Include /dirname/abc.inc The Job Machine can not reach NFS mappings ( /net/export . . . )

Another Directory Direct Yes Include D:\dirName\abc.inc

( Submittal Machine ) UNC Yes Include \\localName\sharedDir\abc.inc The directory must be properly shared

Remote Win2k Dir Direct Yes Include S:\sharedDir\abc.inc The Directory must be Mapped on the Local Machine as S:\

UNC Yes Include \\remoteName\sharedDir\abc.inc The directory must be properly shared

Remote Unix/Linux Dir Direct Yes Include S:\sharedDir\abc.inc The Directory must be Mapped on the Local Machine as S:\

UNC Yes Include \\remoteName\sharedDir\abc.inc The Directory must be properly Shared via SMB

NFS No Include /net/export/remoteName/dirName/abc.inc The Job Machine can not reach NFS mappings ( /net/export . . . )

Page 4: Include File Rules

8/20/2019 Include File Rules

http://slidepdf.com/reader/full/include-file-rules 4/5

Remote Local Working Directory None Yes Include abc.inc

Win2k Win2k Direct No Include D:\workingDir\abc.inc Direct Drive Access is not supported for Remote Runs

Machine Submittal UNC Yes Include \\localName\sharedWorkingDir\abc.inc The directory must be properly shared

Machine Another Directory Direct No Include D:\dirName\abc.inc Direct Drive Access is not supported for Remote Runs

( Submittal Machine ) UNC Yes Include \\localName\sharedDir\abc.inc The directory must be properly shared

Another Directory Direct Yes Include D:\dirName\abc.inc The File must exist as noted on the remote machine.

( Job Machine ) UNC Yes Include \\machineName\sharedDir\abc.inc The directory must be properly shared

Remote Win2k Dir Direct Yes Include S:\sharedDir\abc.inc The Directory must be Mapped on the Local Machine as S:\.

UNC Yes Include \\remoteName\sharedDir\abc.inc The directory must be properly shared

Remote Unix/Linux Dir Direct Yes Include S:\sharedDir\abc.inc The Directory must be Mapped on the Local Machine as S:\.

UNC Yes Include \\remoteName\sharedDir\abc.inc The Directory must be properly Shared via SMB

NFS No Include /net/export/remoteName/dirName/abc.inc The Job Machine can not reach NFS mappings ( /net/export . . . )

Remote Working Directory None Yes Include abc.inc

Win2k Direct Yes Include D:\workingDir\abc.inc The File must exist as noted on the remote machine.

Job UNC Yes Include \\machineName\sharedWorkingDir\abc.inc The directory must be properly shared

Machine Another Directory Direct Yes Include D:\dirName\abc.inc The File must exist as noted on the remote machine.

( Working Dir Machine ) UNC Yes Include \\machineName\sharedDir\abc.inc The directory must be properly shared

Another Directory Direct No Include D:\dirName\abc.inc Direct Drive Access is not supported for Remote Runs

( Submittal Machine ) UNC Yes Include \\localName\sharedDir\abc.inc The directory must be properly shared

Remote Win2k Dir Direct Yes Include S:\sharedDir\abc.inc The Directory must be Mapped on the Local Machine as S:\.

UNC Yes Include \\remoteName\sharedDir\abc.inc The directory must be properly shared

Remote Unix/Linux Dir Direct Yes Include S:\sharedDir\abc.inc The Directory must be Mapped on the Local Machine as S:\.

UNC Yes Include \\remoteName\sharedDir\abc.inc The Directory must be properly Shared via SMB

NFS No Include /net/export/remoteName/dirName/abc.inc The Job Machine can not reach NFS mappings ( /net/export . . . )

Remote Working Directory None Yes Include abc.inc

Win2k Direct Yes Include S:\sharedWorkingDir\abc.inc The Directory must be Mapped on the Local Machine as S:\.

Machine UNC Yes Include \\machineName\sharedWorkingDir\abc.inc The directory must be properly shared

Another Directory Direct Yes Include S:\sharedDir\abc.inc The Directory must be Mapped on the Local Machine as S:\.

( Working Dir Machine ) UNC Yes Include \\machineName\sharedDir\abc.inc The directory must be properly shared

Another Directory Direct No Include D:\dirName\abc.inc Direct Drive Access is not supported for Remote Runs

( Submittal Machine ) UNC Yes Include \\localName\sharedDir\abc.inc The directory must be properly shared

Another Directory Direct Yes Include D:\dirName\abc.inc The File must exist as noted on the remote machine.

( Job Machine ) UNC Yes Include \\machineName\sharedDir\abc.inc The directory must be properly shared

Remote Win2k Dir Direct Yes Include S:\sharedDir\abc.inc The Directory must be Mapped on the Local Machine as S:\.

UNC Yes Include \\remoteName\sharedDir\abc.inc The directory must be properly shared

Remote Unix/Linux Dir Direct Yes Include S:\sharedDir\abc.inc The Directory must be Mapped on the Local Machine as S:\.

UNC Yes Include \\remoteName\sharedDir\abc.inc The Directory must be properly Shared via SMB

NFS No Include /net/export/remoteName/dirName/abc.inc The Job Machine can not reach NFS mappings ( /net/export . . . )

Remote Working Directory None Yes Include abc.inc

Unix/Linux Direct Yes Include S:\sharedWorkingDir\abc.inc The Directory must be Mapped on the Local Machine as S:\.

Machine UNC Yes Include \\machineName\sharedWorkingDir\abc.inc The Directory must be properly Shared via SMB

NFS No Include /net/export/machineName/dirName/abc.inc The Job Machine can not reach NFS mappings ( /net/export . . . )

Another Directory Direct Yes Include S:\sharedDir\abc.inc The Directory must be Mapped on the Local Machine as S:\.

( Working Dir Machine ) UNC Yes Include \\machineName\sharedDir\abc.inc The Directory must be properly Shared via SMB

NFS No Include /net/export/machineName/dirName/abc.inc The Job Machine can not reach NFS mappings ( /net/export . . . )

Another Directory Direct No Include D:\dirName\abc.inc Direct Drive Access is not supported for Remote Runs

( Submittal Machine ) UNC Yes Include \\localName\sharedDir\abc.inc The directory must be properly shared

Another Directory Direct Yes Include D:\dirName\abc.inc The File must exist as noted on the remote machine.

( Job Machine ) UNC Yes Include \\machineName\sharedDir\abc.inc The directory must be properly shared

Remote Win2k Dir Direct Yes Include S:\sharedDir\abc.inc The Directory must be Mapped on the Local Machine as S:\.

UNC Yes Include \\remoteName\sharedDir\abc.inc The Directory must be properly Shared via SMB

Remote Unix/Linux Dir Direct Yes Include S:\sharedDir\abc.inc The Directory must be Mapped on the Local Machine as S:\.

UNC Yes Include \\remoteName\sharedDir\abc.inc The Directory must be properly Shared via SMB

NFS No Include /net/export/remoteName/dirName/abc.inc The Job Machine can not reach NFS mappings ( /net/export . . . )

Page 5: Include File Rules

8/20/2019 Include File Rules

http://slidepdf.com/reader/full/include-file-rules 5/5

Remote Local Working Directory None Yes Include abc.inc

Unix/Linux Win2k Direct No Include D:\workingDir\abc.inc Direct Drive Access is not supported for Remote Runs

Machine Submittal UNC No Include \\localName\sharedWorkingDir\abc.inc The Job Machine can not reach UNC mappings ( \\host\share . . )

Machine Another Directory Direct No Include D:\dirName\abc.inc Direct Drive Access is not supported for Remote Runs

( Submittal Machine ) UNC No Include \\localName\sharedDir\abc.inc The Job Machine can not reach UNC mappings ( \\host\share . . )

Another Directory Direct No Include D:\dirName\abc.inc Direct Drive Access is not supported for Remote Runs

( Job Machine ) UNC No Include \\machineName\sharedDir\abc.inc The Job Machine can not reach UNC mappings ( \\host\share . . )

NFS Yes Include /dirName/abc.inc

Remote Win2k Dir Direct No Include S:\sharedDir\abc.inc Direct Drive Access is not supported for Remote Runs

UNC No Include \\remoteName\sharedDir\abc.inc The Job Machine can not reach UNC mappings ( \\host\share . . )

Remote Unix/Linux Dir Direct No Include S:\sharedDir\abc.inc Direct Drive Access is not supported for Remote Runs

UNC No Include \\remoteName\sharedDir\abc.inc The Job Machine can not reach UNC mappings ( \\host\share . . )

NFS Yes Include /net/export/remoteName/dirName/abc.inc

Remote Working Directory None Yes Include abc.inc

Unix/Linux Direct No Include D:\workingDir\abc.inc Direct Drive Access is not supported for Remote Runs

Job UNC No Include \\machineName\sharedWorkingDir\abc.inc The Job Machine can not reach UNC mappings ( \\host\share . . )

Machine NFS Yes Include /workingDir/abc.inc

Another Directory Direct No Include D:\dirName\abc.inc Direct Drive Access is not supported for Remote Runs

( Working Dir Machine ) UNC No Include \\machineName\sharedDir\abc.inc The Job Machine can not reach UNC mappings ( \\host\share . . )

NFS Yes Include /dirName/abc.inc

Another Directory Direct No Include D:\dirName\abc.inc Direct Drive Access is not supported for Remote Runs

( Submittal Machine ) UNC No Include \\localName\sharedDir\abc.inc The Job Machine can not reach UNC mappings ( \\host\share . . )

Remote Win2k Dir Direct No Include S:\sharedDir\abc.inc Direct Drive Access is not supported for Remote Runs

UNC No Include \\remoteName\sharedDir\abc.inc The Job Machine can not reach UNC mappings ( \\host\share . . )

Remote Unix/Linux Dir Direct No Include S:\sharedDir\abc.inc Direct Drive Access is not supported for Remote Runs

UNC No Include \\remoteName\sharedDir\abc.inc The Job Machine can not reach UNC mappings ( \\host\share . . )

NFS Yes Include /net/export/remoteName/dirName/abc.inc

Remote Working Directory None Yes Include abc.inc

Win2k Direct No Include S:\sharedWorkingDir\abc.inc Direct Drive Access is not supported for Remote Runs

Machine UNC No Include \\machineName\sharedWorkingDir\abc.inc The Job Machine can not reach UNC mappings ( \\host\share . . )

Another Directory Direct No Include S:\sharedDir\abc.inc Direct Drive Access is not supported for Remote Runs

( Working Dir Machine ) UNC No Include \\machineName\sharedDir\abc.inc The Job Machine can not reach UNC mappings ( \\host\share . . )

Another Directory Direct No Include D:\dirName\abc.inc Direct Drive Access is not supported for Remote Runs

( Submittal Machine ) UNC No Include \\localName\sharedDir\abc.inc The Job Machine can not reach UNC mappings ( \\host\share . . )

Another Directory Direct No Include D:\dirName\abc.inc Direct Drive Access is not supported for Remote Runs

( Job Machine ) UNC No Include \\machineName\sharedDir\abc.inc The Job Machine can not reach UNC mappings ( \\host\share . . )

NFS Yes Include /dirName/abc.inc

Remote Win2k Dir Direct No Include S:\sharedDir\abc.inc Direct Drive Access is not supported for Remote RunsUNC No Include \\remoteName\sharedDir\abc.inc The Job Machine can not reach UNC mappings ( \\host\share . . )

Remote Unix/Linux Dir Direct No Include S:\sharedDir\abc.inc Direct Drive Access is not supported for Remote Runs

UNC No Include \\remoteName\sharedDir\abc.inc The Job Machine can not reach UNC mappings ( \\host\share . . )

NFS Yes Include /net/export/remoteName/dirName/abc.inc

Remote Working Directory None Yes Include abc.inc

Unix/Linux Direct No Include S:\sharedWorkingDir\abc.inc Direct Drive Access is not supported for Remote Runs

Machine UNC No Include \\machineName\sharedWorkingDir\abc.inc The Job Machine can not reach UNC mappings ( \\host\share . . )

NFS Yes Include /workingDir/abc.inc

Another Directory Direct No Include S:\sharedDir\abc.inc Direct Drive Access is not supported for Remote Runs

( Working Dir Machine ) UNC No Include \\machineName\sharedDir\abc.inc The Job Machine can not reach UNC mappings ( \\host\share . . )

NFS Yes Include /dirName/abc.inc

Another Directory Direct No Include D:\dirName\abc.inc Direct Drive Access is not supported for Remote Runs

( Submittal Machine ) UNC No Include \\localName\sharedDir\abc.inc The Job Machine can not reach UNC mappings ( \\host\share . . )

Another Directory Direct No Include D:\dirName\abc.inc Direct Drive Access is not supported for Remote Runs

( Job Machine ) UNC No Include \\machineName\sharedDir\abc.inc The Job Machine can not reach UNC mappings ( \\host\share . . )

NFS Yes Include /dirName/abc.inc

Remote Win2k Dir Direct No Include S:\sharedDir\abc.inc Direct Drive Access is not supported for Remote Runs

UNC No Include \\remoteName\sharedDir\abc.inc The Job Machine can not reach UNC mappings ( \\host\share . . )

Remote Unix/Linux Dir Direct No Include S:\sharedDir\abc.inc Direct Drive Access is not supported for Remote Runs

UNC No Include \\remoteName\sharedDir\abc.inc The Job Machine can not reach UNC mappings ( \\host\share . . )

NFS Yes Include /net/export/remoteName/dirName/abc.inc