deb_guid-e (1158372), страница 5

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

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

Explicitly specified memory area is checked by comparison its reference checksum with the current one. The reference checksum is calculated when Run-Time Library is initialized.

The initial and final addresses of code memory are specified by the program, starting Run-Time Library by means of writing these addresses to the Run-Time Library executable module. The same program calculates and writes to Run-Time Library executable module reference checksum of code memory. During its operating (in particular, when trace events occurred) Run-Time Library checks code memory, comparing its current checksum with reference one.

Controlling mechanisms of memory area checking is implemented by the following parameters of systrace.* files.

  • EveryEventCheckBound - flag to check all dynamically allocated memory blocks every time when traced event occurred.

  • EveryTraceCheckBound - flag to check all dynamically allocated memory blocks each time when trace output function is called. The checking includes the checking specified by parameter EveryEventCheckBound, because it is also performed for non-traced (disabled) events.

  • dvm_StartAddr - initial address of checked memory area when tracing.

  • dvm_FinalAddr - final address of checked memory area when tracing.

  • EveryEventCheckMem - flag to check the memory area, specified by parameters dvm_StartAddr and dvm_FinalAddr for each traced event.

  • EveryTraceCheckMem - flag to check the memory area, specified by parameters dvm_StartAddr and dvm_FinalAddr each time when trace output functions are called. The checking includes the checking, specified by parameter EveryEventCheckMem, because it is also performed for disabled trace events.

  • EveryEventCheckCodeMem -.flag to check memory area with program code for each traced event.

  • EveryTraceCheckCodeMem - flag to check memory area with program code each time when trace output functions are called. The checking includes the checking, specified by parameter EveryEventCheckCodeMem.

11.4.5Controlling output of additional information when tracing some Run-Time Library functions in extended mode

  • distr_Trace – flag to output additional information when tracing the function distr_. There are outputted abstract machine representation map, ranges of local values of indexes for each dimension of abstract machine representation, flag of replication along all dimensions of the processor system (Repl) and flag of mapping some element (the elements may be different) of abstract machine representation (Every) on each processor.

  • align_Trace - flag to output additional information when tracing the function align_. There are reported distributed array map and ranges of local values of indexes for each its dimension.

  • mappl_Trace - flag to output parallel loop map when tracing the function mappl_.

  • dopl_Trace – flag to output additional information when tracing the function dopl_. The next set of ranges of local values of indexes for each dimension of the parallel loop is output.

  • RedVarTrace –flag to output addresses, types and values of all variables of reduction group when executing functions saverv_ and strtrd_ and also at the beginning and at the end of execution of the function waitrd_.

  • OutIndexTrace – flag to output result values of indexes for each dimension of distributed array when executing internal Run-Time Library function GetIndexArray.

  • diter_Trace –flag to output index array when the function diter_ of interconnection with DVM-debugger is traced.

  • drmbuf_Trace – flag to output index array when function drmbuf_ of interconnection with DVM-debugger is traced.

12Diagnostics messages of dynamic debugger.

The common format of error messages of dynamic debugger:

(<processor number>)<context> File: <file>, Line: <line> (<count> times)<error message>

where:

<processor number>

  • number of processor, where error occurred. It is outputted only if a program executes on several processors.

<context>

  • context, where the error occurred.
    It can be one of the following forms:

Sequential branch

  • the error occurred in sequential part of the program

Loop( No(N1), Iter(I1,I2,…)), …, Loop( No(Nm), Iter(I1,I2,…))

  • the error occurred when m-dimensional loop was executed.

<file>

  • - name of file, where the error occurred.

<line>

  • - line number.

<count>

  • - a number of given error repetitions in the given context. It is output when all detected errors are reported.

<error message>

  • - error description message.

12.1Dynamic control.

Writing to read-only variable <var>

Writing to read-only variable is detected.

Using non-initialized private variable <var>

Access to non-initialized variable is detected.

Using non-initialized element <elem>

Access to non-initialized array element is detected.

Using variable <var> before asynchronous reduction competed

Access to reduction variable before reduction operation completion.

Access to non-local element <elem>

Access to non-local element of distributed array.

Writing to shadow element <elem> of array

Writing to shadow element of array.

Shadow element <elem> was not updated

Access to shadow elements before completion of shadow renew operation.

Data dependence in loop <elem>

Data dependence in parallel loop is detected.

WAIT for shadow renew without START

Operation of waiting for shadow renewal is issued without start of shadow renew operation.

Double WAIT for shadow renew

Repeated operation of waiting for shadow renewal.

Write to exported element before shadow renewal

Updating exported element of array before completion of shadow renewal.

Writing to remote data buffer <var>

Writing to remote data buffer.

Write to remote element <elem> in sequential branch

Access to array element in sequential branch of program without preliminary testing that the element is located on current processor.

WAIT for reduction without START

Waiting for asynchronous reduction completion is issued without Start asynchronous reduction.

Using an element outside of array <elem>

Access to element of array beyond its limits.

12.2Trace accumulation and comparison.

Error message

Description

Bad file structure

It is reported when any non-correspondence of trace or loop description file is detected.

Undefined keyword

It is reported if unknown keyword appears in trace or loop description file.

Bad command syntax

It is reported, if wrong parameters appear after keyword.

Can't open a file <file name>

Specified file can’t be open on reading or writing.

Trace file <file name> is empty

Specified trace file exists, but it is empty.

Bad trace structure (missing current loop)

It is reported, if iteration beginning or loop end event occurs without correspondent loop starting event.

No current loop

It is reported if iteration beginning or loop end event occurs without corresponding loop beginning event.

Unexpected iteration of loop

It is reported if iteration beginning event occurred, but there is no correspondent record in reference trace.

Double execution of iteration, No = <iter no>

It is reported if iteration beginning event occurs for executing loop iteration. Absolute iteration number is reported.

Unexpected loop execution

It is reported if loop beginning event occurs, but there is no correspondent record in reference trace.

Abnormal loop exit

It is reported if record of loop end is not corresponds to the record of loop beginning.

Unexpected use of variable

It is reported there is no record in reference trace for variable access event.

Unexpected trace record

It is reported there is no record in reference trace for an event of possible skip of group operators in the sequential branch.

Different <type> values: <standard value> != <current value>

Different values of the same variable are detected for current event and in reference trace record.

Different <type> values of reduction variable: <standard value> != <current value>

Different values of reduction operation are detected for current event and in reference trace record.

13Structure of loop description file

# Trace size =

<size of full trace file in bytes>

# String count =

<a number of lines of trace file>

SL or PL

<loop number> (<number of nesting loop>) [<loop rank>] {<file name>, <line number>} = <trace accumulation level>, (<dimension>:<first iteration>, < last iteration >, <iteration step>)

# Trace size = <loop trace size in bytes for specified trace level>

# String count = <number of loop trace lines for specified trace level>

# Count of traced iterations = <number of traced loop iterations>

EL: <loop number>

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

SL or PL

<loop number> (<number of nesting loop>) [<loop rank>] {<file name>, <line number>} = <trace accumulation level>, (<dimension>:<first iteration>, < last iteration >, <iteration step>)

# Trace size = <loop trace size in bytes for specified trace level>

# String count = <number of loop trace lines for specified trace level>

# Count of traced iterations = <number of traced loop iterations>

14Execution trace structure.

When executions are traced, accumulated trace information consists of two parts:

  • trace header

  • trace body (may be omitted).

The header exists in trace even if the trace accumulation is disabled for whole program. Its structure looks like the structure of loop description loop, but without calculated values of trace size for whole program and for loops:

MODE = <accumulation trace level for whole program>,

SL or PL

<loop number> (<number of nesting loop>) [<loop rank>] {<file name>, <line number>} = <trace accumulation level>, (<dimension>:<first iteration>, < last iteration >, <iteration step>)

EL: <loop number>

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

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

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