appdeTMe (1158396), страница 2

Файл №1158396 appdeTMe (Раздаточные материалы) 2 страницаappdeTMe (1158396) страница 22019-09-18СтудИзба
Просмтор этого файла доступен только зарегистрированным пользователям. Но у нас супер быстрая регистрация: достаточно только электронной почты!

Текст из файла (страница 2)

will be output and the following subdirectories will be created in dvm_sys

directory:

bin/
demo/

- DVM-system executable files;
- demonstration programs to verify DVM-system;

lib/
par/
user/

- support system library;
- support system parameters;
- files that should be copied in user directories.

On errors examine logfile.txt files appeared in \src subdirectories of /src rts, cdvm, fdvm, driver, pppa, predictor directories.

  1. 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.

  1. 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:

  1. To compile selected demo program:

dvm c <program name>

or

dvm f <program name>

  1. 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.

Характеристики

Список файлов учебной работы

Свежие статьи
Популярно сейчас
А знаете ли Вы, что из года в год задания практически не меняются? Математика, преподаваемая в учебных заведениях, никак не менялась минимум 30 лет. Найдите нужный учебный материал на СтудИзбе!
Ответы на популярные вопросы
Да! Наши авторы собирают и выкладывают те работы, которые сдаются в Вашем учебном заведении ежегодно и уже проверены преподавателями.
Да! У нас любой человек может выложить любую учебную работу и зарабатывать на её продажах! Но каждый учебный материал публикуется только после тщательной проверки администрацией.
Вернём деньги! А если быть более точными, то автору даётся немного времени на исправление, а если не исправит или выйдет время, то вернём деньги в полном объёме!
Да! На равне с готовыми студенческими работами у нас продаются услуги. Цены на услуги видны сразу, то есть Вам нужно только указать параметры и сразу можно оплачивать.
Отзывы студентов
Ставлю 10/10
Все нравится, очень удобный сайт, помогает в учебе. Кроме этого, можно заработать самому, выставляя готовые учебные материалы на продажу здесь. Рейтинги и отзывы на преподавателей очень помогают сориентироваться в начале нового семестра. Спасибо за такую функцию. Ставлю максимальную оценку.
Лучшая платформа для успешной сдачи сессии
Познакомился со СтудИзбой благодаря своему другу, очень нравится интерфейс, количество доступных файлов, цена, в общем, все прекрасно. Даже сам продаю какие-то свои работы.
Студизба ван лав ❤
Очень офигенный сайт для студентов. Много полезных учебных материалов. Пользуюсь студизбой с октября 2021 года. Серьёзных нареканий нет. Хотелось бы, что бы ввели подписочную модель и сделали материалы дешевле 300 рублей в рамках подписки бесплатными.
Отличный сайт
Лично меня всё устраивает - и покупка, и продажа; и цены, и возможность предпросмотра куска файла, и обилие бесплатных файлов (в подборках по авторам, читай, ВУЗам и факультетам). Есть определённые баги, но всё решаемо, да и администраторы реагируют в течение суток.
Маленький отзыв о большом помощнике!
Студизба спасает в те моменты, когда сроки горят, а работ накопилось достаточно. Довольно удобный сайт с простой навигацией и огромным количеством материалов.
Студ. Изба как крупнейший сборник работ для студентов
Тут дофига бывает всего полезного. Печально, что бывают предметы по которым даже одного бесплатного решения нет, но это скорее вопрос к студентам. В остальном всё здорово.
Спасательный островок
Если уже не успеваешь разобраться или застрял на каком-то задание поможет тебе быстро и недорого решить твою проблему.
Всё и так отлично
Всё очень удобно. Особенно круто, что есть система бонусов и можно выводить остатки денег. Очень много качественных бесплатных файлов.
Отзыв о системе "Студизба"
Отличная платформа для распространения работ, востребованных студентами. Хорошо налаженная и качественная работа сайта, огромная база заданий и аудитория.
Отличный помощник
Отличный сайт с кучей полезных файлов, позволяющий найти много методичек / учебников / отзывов о вузах и преподователях.
Отлично помогает студентам в любой момент для решения трудных и незамедлительных задач
Хотелось бы больше конкретной информации о преподавателях. А так в принципе хороший сайт, всегда им пользуюсь и ни разу не было желания прекратить. Хороший сайт для помощи студентам, удобный и приятный интерфейс. Из недостатков можно выделить только отсутствия небольшого количества файлов.
Спасибо за шикарный сайт
Великолепный сайт на котором студент за не большие деньги может найти помощь с дз, проектами курсовыми, лабораторными, а также узнать отзывы на преподавателей и бесплатно скачать пособия.
Популярные преподаватели
Добавляйте материалы
и зарабатывайте!
Продажи идут автоматически
7021
Авторов
на СтудИзбе
260
Средний доход
с одного платного файла
Обучение Подробнее