Giter VIP home page Giter VIP logo

openarray's Issues

OpenArray still depends on automake

I created a clean docker container (openSUSE Leap 15.1 x86_64, bash), then followed the instructions in https://github.com/hxmhuang/OpenArray_Dev/blob/master/docs/zh/build_from_scratch/opensuse-mpich.md, except installing automake. When I compiled OpenArray:

PNETCDF_DIR=${HOME}/install ./configure --prefix=${HOME}/install 

It appeard an error:

3b29fdf409f8:/OpenArray # make
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /OpenArray/missing aclocal-1.15
/OpenArray/missing: line 81: aclocal-1.15: command not found
WARNING: 'aclocal-1.15' is missing on your system.
         You should only need it if you modified 'acinclude.m4' or
         'configure.ac' or m4 files included by 'configure.ac'.
         The 'aclocal' program is part of the GNU Automake package:
         <http://www.gnu.org/software/automake>
         It also requires GNU Autoconf, GNU m4 and Perl in order to run:
         <http://www.gnu.org/software/autoconf>
         <http://www.gnu.org/software/m4/>
         <http://www.perl.org/>
make: *** [Makefile:542: aclocal.m4] Error 127

Yes, we want to remove the denpendency of OpenArray on automake.

make install 更正

make install 时,需要把所有的.mod 文件都拷贝到include文件夹中。

compile error

make[4]: Entering directory '/staff/zhuxianyu/envir/pnetcdf-1.11.2/src/drivers/common'
CC dtype_decode.lo
CC hash_map.lo
CC error_posix2nc.lo
CC ncx.lo
CC convert_swap.lo
dtype_decode.c: In function ‘ncmpii_dtype_decode’:
dtype_decode.c:390:14: error: ‘MPI_COMBINER_HVECTOR_INTEGER’ undeclared (first use in this function); did you mean ‘MPI_COMBINER_F90_INTEGER’?
390 | case MPI_COMBINER_HVECTOR_INTEGER:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
| MPI_COMBINER_F90_INTEGER
dtype_decode.c:390:14: note: each undeclared identifier is reported only once for each function it appears in
dtype_decode.c:396:14: error: ‘MPI_COMBINER_HINDEXED_INTEGER’ undeclared (first use in this function); did you mean ‘MPI_COMBINER_HINDEXED_BLOCK’?
396 | case MPI_COMBINER_HINDEXED_INTEGER:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| MPI_COMBINER_HINDEXED_BLOCK
dtype_decode.c:416:14: error: ‘MPI_COMBINER_STRUCT_INTEGER’ undeclared (first use in this function); did you mean ‘MPI_COMBINER_F90_INTEGER’?
416 | case MPI_COMBINER_STRUCT_INTEGER:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| MPI_COMBINER_F90_INTEGER
make[4]: *** [Makefile:525: dtype_decode.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory '/staff/zhuxianyu/envir/pnetcdf-1.11.2/src/drivers/common'
make[3]: *** [Makefile:443: all] Error 2
make[3]: Leaving directory '/staff/zhuxianyu/envir/pnetcdf-1.11.2/src/drivers/common'
make[2]: *** [Makefile:463: all-recursive] Error 1
make[2]: Leaving directory '/staff/zhuxianyu/envir/pnetcdf-1.11.2/src/drivers'
make[1]: *** [Makefile:463: all-recursive] Error 1
make[1]: Leaving directory '/staff/zhuxianyu/envir/pnetcdf-1.11.2/src'
make: *** [Makefile:520: all-recursive] Error 1

负号问题

qfluz = DZF(quz)*(-1.d0) 计算表达式最好不要以负号开头,容易引发算子库的不稳定和bug;今天反复测试,qfluz每次计算错误,且每次结果可能会不一致;

A problem needs to be solved during installation

Many .mod files are generated during compilation of OpenArray. All the .mod files need to be copied to include folder during the make install procedure. Otherwise, the users will fail to compile their model programs with error "Error in opening the compiled module file.".
This problem occurs in all operating systems and MPI environments.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.