normDDe (1158428), страница 4

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

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

<name-variable>::=<token code>

<name-domain>::=<token code> OR ‘S’

This information means that variable with name <name-variable> on domain <name-domain> (if <name-variable> - name of scalar variable, then <name-domain>=’S’) is computed in the operator with <statement number>.

For instance, this table allows checking the character of single-assignment for the variables of Norma part unit with great effect.

3.13Table of operators body

Table of operators body is used for holding the bodies of operators in the form applied to generation of target Fortran program. The variables included into the operators have index expressions restored and the values are substituted instead of the names declared as DOMAIN PARAMETERS, the names of iterated variables are substituted for the corresponding names of the variables-results ( from the previous or current step of iteration).

Line of Table of operators body has the form:

sequence of token codes

3.14Table of input-output formats

Table of input-output formats is used for holding attributes of input-output for input-variable and output-variable.

Line of Table of input-output formats has the form:

statement number

name-variable

name-domain

attribute

attribute

<statement number>::=<integer>

<name-variable>::=<token code>

<name-domain>::=<token code> OR ‘S’

<attribute>::=<sequence of token codes>

This information means that variable with name <name-variable> on domain <name-domain> (if <name-variable> - name of scalar variable, then <name-domain>=’S’) is input-variable or output-variable in the operator with <statement number> and has attributes <attribute>.

3.15Data dependencies graph (DDG)

DDG G(V,E) is an hierarchical oriented graph. V is a set of graph nodes, each nodes corresponds to some Norma operators, iteration or declaration of input and output variables. E is a set of edges reflecting variables dependencies: if variable X depends on variable Y then there exists edge e from X to Y.

All Norma iteration unit for special nodes (iteration-nodes) are substituted. Iteration-nodes is a subgraph of DDG graph.

All Norma ordered groups (Norma statements groups for which sequential computing mode is defined) for special nodes (ordered-groups-nodes) are substituted.

DDG is represented by the following data structure: for each node vV the line of dependencies is defined . It contains the nodes of DDG, which v depends on.

graph-node

dependency-node

dependency-node

<dependency-node>::=<node>

<graph-node>::=<node>

<node>::=<statement number> OR <iteration number> OR <ordered group number>

3.16Reduced data dependencies graph (RDDG)

RDDG is graph of graph DDG in which search for maximum strongly connected subgraphs (MSCS) is performed and all MSCS for special nodes are substituted.

MSCS is strongly connected subgraph of graph DDG, which is not contained in any other strongly connected subgraph of graph DDG.

Therefore RDDG is a hierarchical oriented acyclic graph G(V,E) which consists of MSCS-nodes, iteration-nodes, ordered-groups-nodes and simple nodes (other nodes).

RDDG is represented by the following data structure: for each node vV the line of dependencies is defined . It contains the nodes RDDG, which v depends on.

r-graph-node

r-dependency-node

r-dependency-node

<r-dependency-node>::=<node>

<r-graph-node>::=<node>

<node>::=<statement number> OR <iteration number> OR <ordered group number> OR <MSCS number>

3.17List of MSCS

MSCS is strongly connected subgraph of graph DDG, which is not contained in any other strongly connected subgraph of graph DDG.

Element of List of MSCS is represented by the following data structure:

MSCS-number

statement number

statement number

3.18List for parallel layer scheme representation

Parallel layer scheme is the result of reduced data dependencies graph (RDDG) partial ordering. If an edge from P to Q (P,Q from V) exists (in other words Q is used to calculate P), then P>Q (Q must be calculated earlier than P).

Computations corresponding to RDDG nodes of the same layer may be parallel and independent. Passage from a current layer to the next one is performed after all the computations of the current layer have been performed.

Parallel layer scheme is represented by the following data structure:

layer

layer

layer

Structure of <layer> element:

layer-number

node

node

<layer-number>::=<integer>

<node>::=<statement number> OR <iteration number><parallel layer scheme> OR

<ordered group number> OR <MSCS number>

3.19Table of distributed variables

Table of distributed variables is used for holding information about variables need required source of memory at every processor.

Line of Table of distributed variables has the form:

name-variable

name-index

range

name-index

range

<name-variable>::=<token code>

<name-index>::=<token code>

<range>::=<integer><integer>

This information means that variable <name-variable> is distributed among the processors by indexes <name-index>, volume of memory in each processor by the given index are defined by field <range>.

3.20Table of shadow variables

Table of shadow variables is used for holding information about variables need additional space for the elements that have to be moved in from neighbouring processors (‘shadow edges’, see document ‘Fortran DVM. Language description’, SHADOW directive description) in distributing memory on every processor.

Line of Table of shadow variables has the form:

name-variable

name-index

low-shadow

high-shadow

name-index

low-shadow

high-shadow

<name-variable>::=<token code>

<name-index>::=<token code>

<low-shadow>::=<integer>

<high-shadow>::=<integer>

This information means that variable <name-variable> need additional memory by indexes <name-index>, size of extension on the given index <low-shadow> on the left and <high-shadow> on the right.

3.21Table of remote variables

Table of remote variables contains information about program statements, which have remote references to distributed arrays (see document ‘Fortran DVM. Language description’, REMOTE_ACCESS directive description).

Line of Table of remote variables has the form:

statement number

name-variable

index-expression

name-index

range

name-index

range

<name-variable>::=<token code>

<index-expression>::=<sequence of token codes>

<name-index>::=<token code>

<range>::=<integer><integer>

This information means that in operator with number <statement number> values of variable <name-variable>[<index-expression>] are required, ranges of distributed indexes alteration <name-index> are defined by field <range>.

3.22Intermediate representation of Fortran DVM programs

List FORT of the type given below is used for Intermediate representation of Fortran DVM program:

fortran-statement

fortran-statement

fortran-statement

Structure of <fortran-statement> element:

‘C’

comment

-

line-comment

‘CHPF’

HPF-comment

-

HPF-line-comment

‘CDVM’

DVM-comment

-

DVM-line-comment

label

CONTINUE

-

operator CONTINUE

DO label name-index b-value e-value step

-

operator DO label name-index=b-value,e-value,step

IF logic-expression label

-

operator IF (logic-expression) GOTO label

GOTO label

-

operator GOTO label

CALL name-subroutine list-parameters

-

operator CALL name (list-parameters)

READ chan-number label read-list

-

operator READ (chan-number,label)read-list

WRITE chan-number label write-list

-

operator WRITE (chan-number,label)write-list

label

FORMAT format-list

-

operator label FORMAT( format-list)

IFTHEN logic-expression operators

-

operator IF logic-expression THEN operators ENDIF

IF_THEN_ELSE logic-expression (operators)(operators)

-

operator IF logic-expression THEN operators

ELSE operators ENDIF

PROGRAM name-program

-

operator PROGRAM

SUBROUTINE name-subroutine list-parameters

-

operator SUBROUTINE name (list-parameters)

type

FUNCTION name-function list-parameter

-

operator type FUNCTION name (list-parameters)

declaration declaration-list

-

declaration of variables

EXTERNAL external-list

-

declaration of externals

DATA data-list

-

operator DATA

assignment

-

operator assignment

RETURN

-

operator RETURN

END

-

operator END

STOP

-

operator STOP

<comment>::=<string>

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

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

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