由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - 求助: Cygwin GCC g77编译.f文件出错
相关主题
问个简单的Fortran问题GCC 居然允许变量长度的向量
what kind of language this is and how to change it? (转载)g++找不到bitset
gfortran 编译f90程序[合集] GCC source code help
[合集] 导师叫我装C++另一个Fortran 问题
MPI xl fortran problem on Blue Gene[合集] 6个变态的C语言写的Hello World (ZZ)
MinGW在win7上就是一个垃圾一般visual studio C++ 下编译通过的程序放到linux下编译需要做什么改动?
你们为啥要用cygwin?急,VC7.1编译错误
死了,哪里有mingw的入门介绍?请问GCC有没有检查宏是怎么展开的工具啊?
相关话题的讨论汇总
话题: cygwin话题: g77话题: iand话题: ishift话题: g95
进入Programming版参与讨论
1 (共1页)
C*******s
发帖数: 330
1
说好几个subroutine里面JiAnd 和 Jishft是unimplemented intrinsics,不能编译成
功。这个是因为Cygwin里面缺什么吗?如何解决?十个大包子奉上可以帮助成功编译的
朋友。:)
j**f
发帖数: 28
2
The two functions are not implemented in g77/gfortran
the detail of the function can be found here
http://docs.sgi.com/library/tpl/cgi-bin/getdoc.cgi?coll=0650&db=man&fname=/usr/share/catman/p_man/cat3/f90/JIAND.z
http://docs.sgi.com/library/tpl/cgi-bin/getdoc.cgi?coll=0650&db=man&fname=/usr/share/catman/p_man/cat3/f90/JISHIFT.z
Most likely you can just use IAND and ISHIFT to substitute them.
The two were implemented in ifort, so you can try to see if the substitution
change results. I don't kno
C*******s
发帖数: 330
3
What about G95? If I can install G95, would that solve the problem? Thanks
a lot!

substitution

【在 j**f 的大作中提到】
: The two functions are not implemented in g77/gfortran
: the detail of the function can be found here
: http://docs.sgi.com/library/tpl/cgi-bin/getdoc.cgi?coll=0650&db=man&fname=/usr/share/catman/p_man/cat3/f90/JIAND.z
: http://docs.sgi.com/library/tpl/cgi-bin/getdoc.cgi?coll=0650&db=man&fname=/usr/share/catman/p_man/cat3/f90/JISHIFT.z
: Most likely you can just use IAND and ISHIFT to substitute them.
: The two were implemented in ifort, so you can try to see if the substitution
: change results. I don't kno

j**f
发帖数: 28
4
Nope, even with the latest version of g95.
IAND and ISHIFT certainly will do the job, that's why people don't want to
keep those others.
Your code are with fashion in old days. In that time the return value
needed to be taken care by programmer, for example, using dcos/dsin
instead of cos/sin.

Thanks

【在 C*******s 的大作中提到】
: What about G95? If I can install G95, would that solve the problem? Thanks
: a lot!
:
: substitution

C*******s
发帖数: 330
5
Thanks a lot! Will try tomorrow to replace jiand and jishift with iand and
ishift. The code is indeed very old. :)

【在 j**f 的大作中提到】
: Nope, even with the latest version of g95.
: IAND and ISHIFT certainly will do the job, that's why people don't want to
: keep those others.
: Your code are with fashion in old days. In that time the return value
: needed to be taken care by programmer, for example, using dcos/dsin
: instead of cos/sin.
:
: Thanks

C*******s
发帖数: 330
6
It worked! 10 baozi in a minute. THanks a lot!

【在 j**f 的大作中提到】
: Nope, even with the latest version of g95.
: IAND and ISHIFT certainly will do the job, that's why people don't want to
: keep those others.
: Your code are with fashion in old days. In that time the return value
: needed to be taken care by programmer, for example, using dcos/dsin
: instead of cos/sin.
:
: Thanks

j**f
发帖数: 28
7
Great to hear that.
Thanks for your baozi.

【在 C*******s 的大作中提到】
: It worked! 10 baozi in a minute. THanks a lot!
1 (共1页)
进入Programming版参与讨论
相关主题
请问GCC有没有检查宏是怎么展开的工具啊?MPI xl fortran problem on Blue Gene
关于不同系统编译的问题MinGW在win7上就是一个垃圾
创业公司的代码会放在云平台上吗?你们为啥要用cygwin?
Help C++ Template function link error .死了,哪里有mingw的入门介绍?
问个简单的Fortran问题GCC 居然允许变量长度的向量
what kind of language this is and how to change it? (转载)g++找不到bitset
gfortran 编译f90程序[合集] GCC source code help
[合集] 导师叫我装C++另一个Fortran 问题
相关话题的讨论汇总
话题: cygwin话题: g77话题: iand话题: ishift话题: g95