Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Login
Remember
Register
Ask
Q&A
All Activity
Hot!
Unanswered
Tags
Users
Ask a Question
Ask a Question
Categories
All categories
Topic[话题] (13)
Life[生活] (4)
Technique[技术] (2.1m)
Idea[创意] (3)
Jobs[工作] (2)
Others[杂七杂八] (18)
Code Example[编程示例] (0)
Recent questions tagged Fortran
0
votes
668
views
1
answer
fortran - Function call stopping/hanging when containing a write-statement, but only when linking with certain libraries during compilation
Here is my minimal example: program test implicit none real :: testfunc write(*,*) "Writing from main" write(*, ... just stop linking to them.) See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
fortran
0
votes
556
views
1
answer
fortran - Calling an internal subroutine inside OpenMP region
I have a module that contains a subroutine that contains another subroutine. The outer subroutine has a parallel ... to its child subroutines. See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
fortran
0
votes
722
views
1
answer
fortran - Sourced allocation of a non-contiguous array section
In relation to a recent post regarding how to declare the array shape concisely, I tried the following three ... = (garbage data, reasonable) See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
fortran
0
votes
657
views
1
answer
fortran - Cannot detect file existing or not
In a program I am improving, I noticed that Fortran does not detect file existing or not. This led to a ... Dump file not found' stop endif See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
fortran
0
votes
729
views
1
answer
fortran - Fibonacci numbers becoming negative after a certain term
I wrote this program in Fortran to display the Fibonacci numbers up to the x-th term: program fibonacci ... m using the gfortran compiler. See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
fortran
0
votes
878
views
1
answer
fortran - Syntax for openmp long directive list fortran77
PROBLEM : Long list of directives openmp fortran77 c$omp parallel default(shared) private(i,k,i1,i2,i3,i4,i5, ... because I am using fortran77) See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
fortran
0
votes
963
views
1
answer
fortran - Number of lines of a text file
I'm trying to make a function that takes in a file name (i.e. "data.txt") and produces the number of ... when I compile just the wrong output. See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
fortran
0
votes
596
views
1
answer
fortran - "DATA INT / 'STRING' /" problem when compiling with gfortran
I have some old (~1995) legacy fortran code which is compiled with g77 compiler and fails on gfortran. The ... this? Thank you in advance. See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
fortran
0
votes
628
views
1
answer
fortran - Proper way of doing the systematic computations / initializations at the beginning of a program
I am writing a program that I will use in two main cases: 1D and 2D. The dimension ndim is loaded through ... what would be the proper syntax? See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
fortran
0
votes
562
views
1
answer
fortran - sum only on certain dimension
I have a Fortran 90array (matrix) like: REAL(8),DIMENSION(Xmax, Ymax, Zmax, Xmax, Ymax, Zmax) :: Mat ... function? what would be more efficient? See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
fortran
0
votes
548
views
1
answer
fortran - Meaning of filelocation = "../"//filename
filelocation = "../"//filename PRINT *, "Attempting to open ", TRIM(filename) OPEN(fh1, FILE = filelocation, STATUS= ... /"// in the first line? See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
fortran
0
votes
504
views
1
answer
fortran - Characters in quotes in a print statement
The documentation for the datetime subroutine in fortran-95, gives an example on the usage of data and time. Here ... , in the print statements? See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
fortran
0
votes
430
views
1
answer
fortran - Scoping rules for variable and functions in contained subroutines
I have a problem understanding why a variable (i) declared in a subroutine is seen in a contained subroutine, ... right words). Any explanation? See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
fortran
0
votes
627
views
1
answer
fortran - Segfault when calling a function with a constant argument
I have written this very simple code in Fortran: program su implicit none real ran3 write(*,*) ran3(0) end program ... and how I can solve it? See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
fortran
0
votes
672
views
1
answer
fortran - How can I make gfortran or ifort tell me when it implicitly promotes a REAL(4) to a REAL(8)?
I am tasked with changing the precision of parts of an HPC application, bearing in mind that it makes ... when implicitly promoting a REAL? See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
fortran
0
votes
1.2k
views
1
answer
fortran - gfortran error: unexpected element '' in format string at (1)
I have a project written in VS2010 with Intel Visual Fortran. I have a dump subroutine to write a 2D matrix into ... ' in format string at (1) See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
fortran
0
votes
917
views
1
answer
fortran - Function result has no implicit type
Below is a sample code that addresses the problem I am having. The error message I am getting is Function ... do end do end function Sample See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
fortran
0
votes
535
views
1
answer
fortran - Error: If selector expression in SELECT TYPE is not a named variable, associate-name=> shall appear
I am trying to use a type in another type. However, I just cannot make it compile. It is strange to me: ... How can I make this code compile? See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
fortran
0
votes
630
views
1
answer
fortran - OpenMP no threading in subroutine
I'm writing a matrix multiplication subroutine in Fortran. I'm using the Intel Fortran compiler. I've written ... appreciate any inputs on this. See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
fortran
0
votes
631
views
1
answer
fortran - Subroutine with array element as argument
In my program subroutine stlstp passing work(2,1) as parameter to stlfts(...) subroutine. work(2,1) will be double ... (x, n, np, trend) end See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
fortran
0
votes
899
views
1
answer
fortran - How to reverse a chain of characters?
I have to create a program that reverses phrases. For example: when I write hello guys, I want syug olleh ... (*,*)nomT end program reversing See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
fortran
0
votes
588
views
1
answer
fortran - Defining a variable that must be declared constant, but changes in a loop
I'm testing out ranges of values (-1:34 just for kicks) for the function selected_real_kind to determine the kind ... t end do end program f1 See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
fortran
0
votes
658
views
1
answer
fortran - Arithmetic involving integer and real operands
In Fortran, will arithmetic involving an integer and real operand be always carried out by converting the integer ... is there any exception? See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
fortran
0
votes
499
views
1
answer
fortran - Concise notation for inheriting size from other array?
In my code, I have a subroutine that takes a 5th-rank array as argument and uses a local variable, which ... the readability more than it helps. See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
fortran
0
votes
689
views
1
answer
fortran - Operator to check file existence
I want to create an operator .f. that checks whether a file exists so that I can write if (.f ... for having the mentioned functionality? See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
fortran
0
votes
534
views
1
answer
fortran - How to construct a matrix containing 9 smaller matrix
I have nine matrices whose dimension as (N by N) A1(i,j),A2(i,j),A3(i,j),A4(i,j),A5(i,j),A6(i,j),A7(i,j), ... ,j),A8(i,j),A9(i,j)] end do end do See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
fortran
0
votes
711
views
1
answer
fortran - GFortran and CodeBlocks issue with Modules and Multiple Files
I am working with GFortran and CodeBlocks but I'm having an issue about Modules and Multiple files. i keep getting ... how to solve this issue? See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
fortran
0
votes
595
views
1
answer
fortran - ISO_FORTRAN_ENV or -fdefault-real-8 to promote reals to double precision
I've always been using the -fdefault-real-8 option of gfortran to automatically promote every single REAL declared ... changing only that line. See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
fortran
Page:
1
2
3
4
next »
Ask a question:
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question
Just Browsing Browsing
[1] python - discord.py how to organize help command
[2] 我想把form表单数据变成这种格式要怎么遍历呀。
[3] 为什么ubuntu下使用composer创建项目报错段错误?
[4] php bigsur make失败
[5] awesome wm - AwesomeWM, Snapping in floating mode
[6] 服务端渲染react-redux 报错 Invalid hook call. Hooks can only be called
[7] Import datetime field correctly into mysql table using load data infile
[8] react + antd tree组件title过长时会自动换行
[9] C++ primer 5th edition: A bitset to represent a sequence of integers
[10] Elasticsearch基本概念和索引原理
2.1m
questions
2.1m
answers
60
comments
57.0k
users
Most popular tags
javascript
python
c#
java
How
android
c++
php
ios
html
sql
r
c
node.js
.net
iphone
asp.net
css
reactjs
jquery
ruby
What
Android
objective
mysql
linux
Is
git
Python
windows
Why
regex
angular
swift
amazon
excel
algorithm
macos
Java
visual
how
bash
Can
multithreading
PHP
Using
scala
angularjs
typescript
apache
spring
performance
postgresql
database
flutter
json
rust
arrays
C#
dart
vba
django
wpf
xml
vue.js
In
go
Get
google
jQuery
xcode
jsf
http
Google
mongodb
string
shell
oop
powershell
SQL
C++
security
assembly
docker
Javascript
Android:
Does
haskell
Convert
azure
debugging
delphi
vb.net
Spring
datetime
pandas
oracle
math
Django
联盟问答网站-Union QA website
Xstack问答社区
生活宝问答社区
OverStack问答社区
Ostack问答社区
在这了问答社区
在哪了问答社区
Xstack问答社区
无极谷问答社区
TouSu问答社区
SQlite问答社区
Qi-U问答社区
MLink问答社区
Jonic问答社区
Jike问答社区
16892问答社区
Vigges问答社区
55276问答社区
OGeek问答社区
深圳家问答社区
深圳家问答社区
深圳家问答社区
Vigges问答社区
Vigges问答社区
在这了问答社区
DevDocs API Documentations
Xstack问答社区
生活宝问答社区
OverStack问答社区
Ostack问答社区
在这了问答社区
在哪了问答社区
Xstack问答社区
无极谷问答社区
TouSu问答社区
SQlite问答社区
Qi-U问答社区
MLink问答社区
Jonic问答社区
Jike问答社区
16892问答社区
Vigges问答社区
55276问答社区
OGeek问答社区
深圳家问答社区
深圳家问答社区
深圳家问答社区
Vigges问答社区
Vigges问答社区
在这了问答社区
在这了问答社区
DevDocs API Documentations
Xstack问答社区
生活宝问答社区
OverStack问答社区
Ostack问答社区
在这了问答社区
在哪了问答社区
Xstack问答社区
无极谷问答社区
TouSu问答社区
SQlite问答社区
Qi-U问答社区
MLink问答社区
Jonic问答社区
Jike问答社区
16892问答社区
Vigges问答社区
55276问答社区
OGeek问答社区
深圳家问答社区
深圳家问答社区
深圳家问答社区
Vigges问答社区
Vigges问答社区
在这了问答社区
DevDocs API Documentations
广告位招租
...