tech_man-e (1158387)
Текст из файла
6
Advanced parallel program development environment
(APPDE)
Technical manual
(Installation guide)
October, 1999
Keldysh Institute for Applied Mathematics
Russian Academy of Sciences
Contents
1 DVM-system installation 3
2 DVM-system verification 4
3 NORMA-compiler installation 5
4 NORMA-compiler verification 6
1DVM-system installation
DVM system requirements:
-
operation system IRIX
-
cc compiler;
-
f77 compiler;
-
DCC (c++) compiler;
-
gcc (c++) compiler (version 2.95.2 and later);
-
MPICH library;
-
make utility;
-
ar utility;
-
gunzip, tar archivers.
To install DVM-system do the following steps:
-
Select or create a directory for given (NN-th) version of DVM system (for example, root or DVM_NN), copy to it and unpack dvm_NN.tar.gz file. For example, execute
gunzip -c dvm_NN.tar | tar xf -
As a result the following directories and files will be created:
dvm_sys
cdvm/
fdvm/
pppa/
predictor/
rts/
driver/
examles/
dvminstall*
dvmclean*
dvmcleanall*
makefile.*
-
Correct in dvminstall file parameters specifying required
compilers (CC, CXX, FORT variables) and
mpich library version (MPI_HOME, MPI_LIB, MPI_INC variables).
-
In the directory dvm_sys type
dvminstall
On successful execution (message “DVM-system is successfully installed” will be output) the following subdirectories will be appeared:
bin/
lib/
par/
user/
demo/
On errors examine logfile.txt files, appeared in /src subdirectories of directories cdvm, fdvm, pppa, predictor, rts, driver.
-
To start DVM-program on several workstations each user should have working directory shared by all the computers. At that a user should be registered on each computer under the same login names and passwords.
The files
'machinelist'
'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.
-
Now DVM-system is ready for using. But to use it a user should copy all files from directory dvm_sys/user to his own directory with DVM programs.
2DVM-system verification
To verify correctness of DVM system installation it is recommended to run standard test procedures for two variants of Jacobi program (on C-DVM and Fortran-DVM languages). The following should be done:
-
To prepare for usage dvm_sys/demo directory, containing a set of demo DVM-programs: to make it current and run a command of coping files from dvm_sys/user directory
cp ../user/* .
-
To run test procedure of jac1.cdv program (in C-DVM language) in dvm_sys/demo directory.
dvm ctest jac1
Now the demo programs are ready for execution.
-
To run test procedure of jac1.fdv program (in Fortran-DVM language)
dvm ftest jac
-
On successful execution of test procedures (they will output “End of test” message to the screen) test procedures for all demo programs can be run in dvm_sys/demo directory by the command:
alltest
On successful execution appropriate message (“alltest done”) will be output to the screen.
On errors of test procedures it is necessary to check correctness of performing all steps of the instruction. Detailed information about DVM-program startup modes, used by test procedures and all diagnostics messages is in the following documents:
-
"Debugging DVM-program."
-
"C-DVM compiler. User's guide."
-
"Fortran-DVM compiler. User's guide."
So, to install and test DVM-system on a single computer it is sufficiently to run the following set of commands:
gunzip -c dvm_sys.tar | tar xf -
cd dvm_sys
dvminstall
cd demo
cp ../user/* .
alltest
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 execute 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
NORMA-compiler requirements:
-
operation system UNIX ™;
-
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 build 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 suggestion to start test will be output to the screen.
4NORMA-compiler verification
Answer ‘y’ to suggestion 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 competion of the test or about errors will be output to the screen.
Характеристики
Тип файла документ
Документы такого типа открываются такими программами, как Microsoft Office Word на компьютерах Windows, Apple Pages на компьютерах Mac, Open Office - бесплатная альтернатива на различных платформах, в том числе Linux. Наиболее простым и современным решением будут Google документы, так как открываются онлайн без скачивания прямо в браузере на любой платформе. Существуют российские качественные аналоги, например от Яндекса.
Будьте внимательны на мобильных устройствах, так как там используются упрощённый функционал даже в официальном приложении от Microsoft, поэтому для просмотра скачивайте PDF-версию. А если нужно редактировать файл, то используйте оригинальный файл.
Файлы такого типа обычно разбиты на страницы, а текст может быть форматированным (жирный, курсив, выбор шрифта, таблицы и т.п.), а также в него можно добавлять изображения. Формат идеально подходит для рефератов, докладов и РПЗ курсовых проектов, которые необходимо распечатать. Кстати перед печатью также сохраняйте файл в PDF, так как принтер может начудить со шрифтами.















