appdeTMe (1158396), страница 2
Текст из файла (страница 2)
will be output and the following subdirectories will be created in dvm_sys
directory:
| bin/ | - DVM-system executable files; |
| lib/ | - support system library; |
On errors examine logfile.txt files appeared in \src subdirectories of /src rts, cdvm, fdvm, driver, pppa, predictor directories.
-
To start DVM-program on several workstations user should have working directory shared by all the computers. For that a user should be registered on each computer under the same login names and passwords.
The files 'machinelist' and 'dvmwork' should be edited in dvm_sys/user directory.
The 'machinelist' file should contain workstation list. A name of the workstation, where the DVM-program is started, must be in the list (in the format of 'hostname' command output).
The 'dvmwork' file must contain a path to and name of the shared directory.
-
DVM-system is ready for use!
Now the user should copy all files from directory dvm_sys/user to his own directory with DVM programs.
2.2DVM-system verification
To verify correctness of DVM system installation it is recommended to run standard test procedures for two variants of Jacobi program in C-DVM (jac1.cdv) and Fortran-DVM languages (jac.fdv). You should run:
alltest
from dvm_sys\demo directory.
This command will do the following:
-
starts standard testing procedure which execute both programs in different debugging modes (see below);
-
compares results of the program execution with standard results supplied with the system in files jacc_res.uni, jacf_res.uni;
-
starts predictor (of DVM-program performance) for jac1.cdv program and compares predicted results with standard results supplied with the system in file prd_res.uni;
On successful execution of all the steps the user will see the message:
… end of testing DVM …
It means that DVM-system has been installed correctly and either demonstration or user programs can be executed.
If results are not identical at any step the following message will appear at the screen:
!!! The result is differ from expected !!!
and DVM-system verification will stop. Detailed information about DVM-program startup modes, used by test procedures and all diagnostics messages are in the following documents:
-
“Debugging DVM-program. User guide”;
-
“C-DVM compiler. User guide”;
-
“Fortran-DVM compiler. User guide”.
2.3Demonstration program run
Directory dvm_sys\demo contains set of C-DVM and Fortran-DVM programs that show capabilities of DVM-system. The programs can be used for additional testing of DVM-system. In the directory the user can run one of the two commands:
| alldemo | that start up the standard procedure of all C-DVM and Fortran-DVM demonstration program testing; |
| allсdemo | that start up the standard procedure of C-DVM demonstration program testing. |
By default demonstration program execution results are saved in demo.1 and democ.1 files respectively and compared with standard results demo_res.uni and democ_res.uni in the same directory. If results are coincident the following message will appear on the screen:
alldemo done
or
allсdemo done
If results are not coincident with standard ones the following message will appear on the screen:
result is different from demo_res.uni
or
result is different from demoс_res.uni
On successful execution each of demonstration program output into demo.1 and democ.1 files the following message:
“End of test <имя_программы>
2.4DVM-program run on several workstations
To verify execution of DVM-program on several workstations it is necessary:
-
To compile selected demo program:
dvm c <program name>
or
dvm f <program name>
-
To start up program on N1*N2 workstations:
dvm run N1 N2 -m –cp <program name>
Example (if selected program is jac1.cdv):
dvm c jac1
dvm run 2 2 -m -cp jac1
3NORMA-compiler installation under Windows95/98/NT
3.1NORMA-compiler installation
NORMA-compiler requirements:
-
operation system Windows95/NT;
-
cc compiler;
To install Norma compiler do the following steps:
Copy norma_ar.exe and ninstall.bat files to the root directory of DVM installation (dvm_sys) and run ninstall.bat.
Norma compiler will be built and all necessary executable compiler files will be moved into bin directory of DVM system. A message about successful installation will be output to the screen. If in a process of installation the errors will be detected, corresponding diagnostics will be output to the screen. The test for Norma compiler verification will be moved to demo_norma directory of DVM system and prompt to start test will be output to the screen.
3.2NORMA-compiler verification
Answer ‘y’ to the prompt to start test to verify Norma compiler. Norma test program will be compiled, started on processors 2x2 matrix (tests 1 – 3), 2х5 (test 4) and 10х1 (test 5), and result of its execution will be compared with standard ones. A message about successful completion of the test or about errors will be output to the screen.
4NORMA-compiler installation under UNIX
4.1NORMA-compiler installation
NORMA-compiler requirements:
-
operation system UNIX (TM);
-
cc compiler;
-
make utility;
-
ar utility,
-
gzip, tar archivers.
To install Norma compiler do the following steps:
Copy norma.tar and ninstall files to the root directory of DVM installation (dvm_sys) and execute ninstall (attribute ‘execution’ must be set for ninstall file).
Norma compiler will be built and all necessary executable compiler files will be moved into bin directory of DVM system. A message about successful installation will be output to the screen. If in a process of installation the errors will be detected, corresponding diagnostics will be output to the screen. The test for Norma compiler verification will be moved to demo_norma directory of DVM system and prompt to start test will be output to the screen.
4.2NORMA-compiler verification
Answer ‘y’ to the prompt to start test to verify Norma compiler. Norma test program will be compiled, started on processors 2x2 matrix and result of its execution will be compared with reference one. A message about successful completion of the test or about errors will be output to the screen.















