The MPI F08 binding interface, defined in a module namedmpi_f08, has s การแปล - The MPI F08 binding interface, defined in a module namedmpi_f08, has s ไทย วิธีการพูด

The MPI F08 binding interface, defi

The MPI F08 binding interface, defined in a module named
mpi_f08, has several big improvements over its ancestors.
The most important one is that choice buffers are now declared
as assumed-type, assumed-rank dummy arguments,
that is, of type type(*), dimension(..), which is defined
in TS 29113. The actual argument for an assumed-type,
assumed-rank dummy can be of any type and can be a scalar,
an array, or an array section (i.e., subarray). The subarray
can even be noncontiguous by using Fortran subscript
triplets, for example, a(2:10:2), where a is a 1-d array and
the subarray contains a(2) to a(10) with a stride of 2.
The F08 binding further improves type safety in various
aspects. MPI handles in the F77/F90 bindings all have type
integer, making them indistinguishable to compilers. In
the F08 binding, handles are defined as Fortran bind(C) derived
types that consist of only one element, integer ::
MPI_VAL. The internal handle value is identical to the Fortran
integer value used in the F77/F90 bindings. Operators
such as == and /= are overloaded to allow the comparison
of these handles. An MPI Status variable in the F77/F90
bindings is an integer array, for example, integer :: status(MPI_STATUS_SIZE).
In the F08 binding, it has a Fortran
bind(C) derived type with three public integer components,
MPI_SOURCE, MPI_TAG and MPI_ERROR, which are identical to
the Fortran integer value used in the F77/F90 bindings. Additionally,
the F08 binding defines interfaces for MPI userdefined
callback functions. Dummy arguments that are a
procedure (similar to function pointers in C) are declared
by using Fortran’s procedure keyword. Listing 1 shows some
types defined in the F08 binding.
type , bind (C) :: MPI_Comm
integer :: MPI_VAL
end type MPI_Comm
type , bind (C) :: MPI_Status
integer :: MPI_SOURCE
integer :: MPI_TAG
integer :: MPI_ERROR
... ! Implementation - dependant private components
end type MPI_Status
Listing 1: MPI F08 type examples
The F08 binding also declares the ierror argument in
all Fortran subroutines except user-defined and predefined
callbacks as optional, so that a programmer can omit that
argument. Additionally, choice buffers in nonblocking communications
now have an asynchronous attribute. In Fortran
2003/2008, this attribute could be used only to protect
buffers of Fortran asynchronous I/O. With TS 29113, this
attribute now also covers asynchronous communication occurring
within library routines.

0/5000
จาก: -
เป็น: -
ผลลัพธ์ (ไทย) 1: [สำเนา]
คัดลอก!
The MPI F08 binding interface, defined in a module namedmpi_f08, has several big improvements over its ancestors.The most important one is that choice buffers are now declaredas assumed-type, assumed-rank dummy arguments,that is, of type type(*), dimension(..), which is definedin TS 29113. The actual argument for an assumed-type,assumed-rank dummy can be of any type and can be a scalar,an array, or an array section (i.e., subarray). The subarraycan even be noncontiguous by using Fortran subscripttriplets, for example, a(2:10:2), where a is a 1-d array andthe subarray contains a(2) to a(10) with a stride of 2.The F08 binding further improves type safety in variousaspects. MPI handles in the F77/F90 bindings all have typeinteger, making them indistinguishable to compilers. Inthe F08 binding, handles are defined as Fortran bind(C) derivedtypes that consist of only one element, integer ::MPI_VAL. The internal handle value is identical to the Fortraninteger value used in the F77/F90 bindings. Operatorssuch as == and /= are overloaded to allow the comparisonof these handles. An MPI Status variable in the F77/F90bindings is an integer array, for example, integer :: status(MPI_STATUS_SIZE).In the F08 binding, it has a Fortranbind(C) derived type with three public integer components,MPI_SOURCE, MPI_TAG and MPI_ERROR, which are identical tothe Fortran integer value used in the F77/F90 bindings. Additionally,the F08 binding defines interfaces for MPI userdefined
callback functions. Dummy arguments that are a
procedure (similar to function pointers in C) are declared
by using Fortran’s procedure keyword. Listing 1 shows some
types defined in the F08 binding.
type , bind (C) :: MPI_Comm
integer :: MPI_VAL
end type MPI_Comm
type , bind (C) :: MPI_Status
integer :: MPI_SOURCE
integer :: MPI_TAG
integer :: MPI_ERROR
... ! Implementation - dependant private components
end type MPI_Status
Listing 1: MPI F08 type examples
The F08 binding also declares the ierror argument in
all Fortran subroutines except user-defined and predefined
callbacks as optional, so that a programmer can omit that
argument. Additionally, choice buffers in nonblocking communications
now have an asynchronous attribute. In Fortran
2003/2008, this attribute could be used only to protect
buffers of Fortran asynchronous I/O. With TS 29113, this
attribute now also covers asynchronous communication occurring
within library routines.

การแปล กรุณารอสักครู่..
ผลลัพธ์ (ไทย) 2:[สำเนา]
คัดลอก!
อินเตอร์เฟซ F08 MPI ผูกพันที่กำหนดไว้ในโมดูลชื่อ
mpi_f08 มีการปรับปรุงใหญ่หลายกว่าบรรพบุรุษของมัน.
หนึ่งที่สำคัญที่สุดคือบัฟเฟอร์ทางเลือกที่มีการประกาศในขณะนี้
สันนิษฐานว่าเป็นชนิดยศสันนิษฐานข้อโต้แย้งหุ่น
ที่เป็นของประเภทชนิด ( *) มิติ (.. ) ซึ่งถูกกำหนด
ใน TS 29113. ข้อโต้แย้งที่เกิดขึ้นจริงสำหรับสันนิษฐานประเภท
หุ่นสันนิษฐานอันดับสามารถของทุกประเภทและสามารถเป็นสเกลาร์,
อาร์เรย์หรือมาตราอาร์เรย์ (เช่น subarray) subarray
ยังสามารถเป็นที่ไม่ติดกันโดยใช้ห้อย Fortran
แฝดตัวอย่างเช่น (2: 10: 2) ซึ่งเป็นอาเรย์ 1-d และ
subarray มี (2) (10) กับกางเกงของ 2 .
F08 มีผลผูกพันต่อไปจะช่วยเพิ่มความปลอดภัยในการพิมพ์ที่หลากหลาย
แง่มุม MPI จัดการในการผูก F77 / F90 ทุกคนมีชนิด
จำนวนเต็มทำให้พวกเขาแยกไม่ออกในการคอมไพเลอร์ ใน
F08 ผูกพันจับจะถูกกำหนดเป็นผูก Fortran (C) ที่มา
ชนิดที่ประกอบด้วยเพียงองค์ประกอบหนึ่งจำนวนเต็ม ::
MPI_VAL ค่าจัดการภายในเป็นเหมือน Fortran
ค่าจำนวนเต็มใช้ใน F77 / F90 ผูก ผู้ประกอบการ
เช่น == และ / = มากเกินไปเพื่อให้การเปรียบเทียบ
ของการจัดการเหล่านี้ สถานะตัวแปร MPI ใน F77 / F90
ผูกเป็นอาร์เรย์จำนวนเต็มตัวอย่างเช่นจำนวนเต็ม :: สถานะ (MPI_STATUS_SIZE).
ใน F08 ผูกพันก็มี Fortran
ผูก (C) ชนิดที่ได้มามีสามองค์ประกอบจำนวนเต็มสาธารณะ
MPI_SOURCE, MPI_TAG และ MPI_ERROR ซึ่งจะเหมือนกับ
ค่าจำนวนเต็ม Fortran ใช้ใน F77 / F90 ผูก นอกจากนี้
อินเตอร์เฟซที่มีผลผูกพัน F08 กำหนดสำหรับ MPI userdefined
ฟังก์ชั่นการโทรกลับ Dummy ข้อโต้แย้งที่มี
ขั้นตอน (คล้ายกับคำแนะนำการทำงานใน C) มีการประกาศ
โดยใช้คำหลักขั้นตอนของ Fortran รายการที่ 1 แสดงบาง
ชนิดที่กำหนดไว้ใน F08 ผูกพัน.
ชนิดผูก (C) :: MPI_Comm
จำนวนเต็ม :: MPI_VAL
ปลายประเภท MPI_Comm
ชนิดผูก (C) :: MPI_Status
จำนวนเต็ม :: MPI_SOURCE
จำนวนเต็ม :: MPI_TAG
จำนวนเต็ม :: MPI_ERROR
.. .! การดำเนินการ - ชิ้นส่วนตัวขึ้นอยู่กับ
ชนิดปลาย MPI_Status
รายการที่ 1: MPI F08 ตัวอย่างประเภท
F08 ผูกพันยังประกาศอาร์กิวเมนต์ ierror ใน
ซับรูทีน Fortran ทั้งหมดยกเว้นผู้ใช้กำหนดไว้ล่วงหน้าและ
เรียกกลับเป็นตัวเลือกเพื่อให้โปรแกรมเมอร์สามารถละเว้นที่
โต้แย้ง นอกจากนี้บัฟเฟอร์ทางเลือกในการสื่อสาร nonblocking
ตอนนี้มีแอตทริบิวต์ไม่ตรงกัน ใน Fortran
2003/2008 แอตทริบิวต์นี้สามารถนำมาใช้เพียงเพื่อปกป้อง
เนื้อเยื่อของ Fortran ไม่ตรงกัน I / O ด้วย TS 29113 นี้
แอตทริบิวต์ในขณะนี้ยังครอบคลุมถึงการสื่อสารไม่ตรงกันเกิดขึ้น
ภายในประจำห้องสมุด

การแปล กรุณารอสักครู่..
ผลลัพธ์ (ไทย) 3:[สำเนา]
คัดลอก!
MPI F08 ผูกอินเตอร์เฟซที่กำหนดไว้ในโมดูลที่ชื่อ
mpi_f08 มีการปรับปรุงใหญ่หลายกว่าบรรพบุรุษของมัน .
ที่สำคัญที่สุดคือบัฟเฟอร์เลือกตอนนี้ประกาศ
นามสมมติ ประเภท ถือว่าอาร์กิวเมนต์หุ่นอันดับ
นั่นคือประเภทประเภท ( * ) , ขนาด ( . . . ) , ซึ่งถูกกำหนด
TS 29113 . เหตุผลที่แท้จริงสำหรับสันนิษฐานชนิด
ถือว่าโง่อันดับสามารถเป็นชนิดใด และสามารถเป็นสเกลาร์
,อาร์เรย์ หรือ เรย์ ส่วน ( เช่น subarray ) การ subarray
สามารถเป็นขบวนการที่เกิดในเซลล์โดยใช้ภาษาฟอร์แทรนตัวห้อย
แฝด , ตัวอย่างเช่น , ( 2:10:2 ) ที่เป็นภายในและ subarray ประกอบด้วยอาร์เรย์
( 2 ) ( 10 ) กับกางเกง 2 .
F08 ผูกพันเพิ่มเติมเพิ่มความปลอดภัยประเภทในแง่มุมต่าง ๆ

สำหรับจัดการใน f77 / f90 ผูกทั้งหมดมีชนิด
จำนวนเต็ม ทำให้พวกเขาไม่ต้องพูด .ใน
F08 ผูก จับมัด เช่นภาษาฟอร์แทรน ( C ) ได้มา
ประเภทที่ประกอบด้วยเพียงหนึ่งธาตุ จำนวนเต็ม : :
mpi_val ค่าจัดการภายในเหมือนกันกับภาษาฟอร์แทรน
ค่าจำนวนเต็มที่ใช้ใน f77 / f90 ผูก . ผู้ประกอบการ
เช่น = = / = มากเกินไปเพื่อให้เปรียบเทียบ
จับเหล่านี้ เป็น MPI สถานะตัวแปรใน f77 / f90
ผูกเป็นจำนวนเต็ม อาร์เรย์ ตัวอย่างโดย : : สถานะ ( mpi_status_size ) .
ใน F08 ผูก มี c
ผูก ( C ) ได้มาประเภทที่มีสามองค์ประกอบ จำนวนเต็มสาธารณะ
mpi_source mpi_tag mpi_error , และที่เหมือนกัน
c ค่าจำนวนเต็มที่ใช้ใน f77 / f90 ผูก . นอกจากนี้ การกำหนดอินเทอร์เฟซสำหรับ F08

หน้า userdefined จากฟังก์ชัน อาร์กิวเมนต์ที่เป็น
หุ่นขั้นตอน ( คล้ายกับฟังก์ชันตัวชี้ใน C ) มีประกาศ
โดยใช้ภาษาฟอร์แทรนเป็นขั้นตอนคำหลัก รายการที่ 1 แสดงบางประเภทที่ระบุใน F08 ผูกพัน
.
ชนิดผูก ( C ) : :

: : mpi_comm จำนวนเต็ม mpi_val สิ้นสุดประเภท mpi_comm
ชนิดผูก ( C ) : :

: : mpi_source mpi_status จำนวนเต็มจำนวนเต็ม : : : : mpi_error จำนวนเต็ม mpi_tag

. . . . . . . ! การพึ่งพาเอกชน - ส่วนประกอบ

จบประเภท mpi_status รายการ 1MPI F08 ประเภทตัวอย่าง
F08 ผูกยังประกาศ 1 อาร์กิวเมนต์
ทั้งหมดยกเว้นผู้ใช้โปรแกรมปลีกย่อยล่วงหน้า
คัดตัวเป็นทางเลือกเพื่อให้โปรแกรมเมอร์สามารถละเว้นที่
อาร์กิวเมนต์ นอกจากนี้ การเลือกบัฟเฟอร์ใน nonblocking การสื่อสาร
ตอนนี้มีคุณลักษณะไม่ตรงกัน ในภาษาฟอร์แทรน
2003 / 2008 , คุณลักษณะนี้สามารถใช้เพื่อปกป้อง
บัฟเฟอร์ของภาษาฟอร์แทรนแบบฉัน / O กับ TS 29113 นี้
คุณลักษณะตอนนี้ยังครอบคลุมไม่ตรงกันการสื่อสารที่เกิดขึ้นตามปกติ


ภายในห้องสมุด
การแปล กรุณารอสักครู่..
 
ภาษาอื่น ๆ
การสนับสนุนเครื่องมือแปลภาษา: กรีก, กันนาดา, กาลิเชียน, คลิงออน, คอร์สิกา, คาซัค, คาตาลัน, คินยารวันดา, คีร์กิซ, คุชราต, จอร์เจีย, จีน, จีนดั้งเดิม, ชวา, ชิเชวา, ซามัว, ซีบัวโน, ซุนดา, ซูลู, ญี่ปุ่น, ดัตช์, ตรวจหาภาษา, ตุรกี, ทมิฬ, ทาจิก, ทาทาร์, นอร์เวย์, บอสเนีย, บัลแกเรีย, บาสก์, ปัญจาป, ฝรั่งเศส, พาชตู, ฟริเชียน, ฟินแลนด์, ฟิลิปปินส์, ภาษาอินโดนีเซี, มองโกเลีย, มัลทีส, มาซีโดเนีย, มาราฐี, มาลากาซี, มาลายาลัม, มาเลย์, ม้ง, ยิดดิช, ยูเครน, รัสเซีย, ละติน, ลักเซมเบิร์ก, ลัตเวีย, ลาว, ลิทัวเนีย, สวาฮิลี, สวีเดน, สิงหล, สินธี, สเปน, สโลวัก, สโลวีเนีย, อังกฤษ, อัมฮาริก, อาร์เซอร์ไบจัน, อาร์เมเนีย, อาหรับ, อิกโบ, อิตาลี, อุยกูร์, อุสเบกิสถาน, อูรดู, ฮังการี, ฮัวซา, ฮาวาย, ฮินดี, ฮีบรู, เกลิกสกอต, เกาหลี, เขมร, เคิร์ด, เช็ก, เซอร์เบียน, เซโซโท, เดนมาร์ก, เตลูกู, เติร์กเมน, เนปาล, เบงกอล, เบลารุส, เปอร์เซีย, เมารี, เมียนมา (พม่า), เยอรมัน, เวลส์, เวียดนาม, เอสเปอแรนโต, เอสโทเนีย, เฮติครีโอล, แอฟริกา, แอลเบเนีย, โคซา, โครเอเชีย, โชนา, โซมาลี, โปรตุเกส, โปแลนด์, โยรูบา, โรมาเนีย, โอเดีย (โอริยา), ไทย, ไอซ์แลนด์, ไอร์แลนด์, การแปลภาษา.

Copyright ©2026 I Love Translation. All reserved.

E-mail: