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
669
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
557
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
723
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
658
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
730
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
879
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
964
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
597
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
629
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
563
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
549
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
505
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
431
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
628
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
674
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
918
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
536
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
631
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
632
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
900
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
589
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
659
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
500
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
690
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
712
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
596
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] javascript - Why Node JS throw error while using in terminal VS Code?
[2] 在使用thinkphp6和layui实现一个后台分页效果的时候报了一个错误,请问下如何解决
[3] js如何响应滚动条的点击事件?
[4] Is there difference between redux-saga/core/effects and redux-saga/effects
[5] vue如何实现整点的时候自动请求接口刷新页面数据?
[6] cell - Led indicator with 3 LED, but lighting separately
[7] dva多个model依赖同一个接口返回,怎么处理好?
[8] 求大佬来解释一下这个react问题
[9] spring boot 1.5升级2.3报错
[10] JPA 俩个实体类映射同一个表的问题
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
广告位招租
...