Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update radiasoft/warp? #218

Closed
robnagler opened this issue Dec 19, 2020 · 5 comments
Closed

update radiasoft/warp? #218

robnagler opened this issue Dec 19, 2020 · 5 comments
Assignees

Comments

@robnagler
Copy link
Member

Compiling radiasoft/warp gets this error, but berkeleylab/warp does not:

  F90Fixed w3d.F
../../w3d.F:2351:32:

  956 |         call getzmmnt(1,0.,0.,0.,0.,0.,0.,0.,
      |                        2
......
 2351 |                call getzmmnt(ip,xp(i1:i2),yp(i1:i2),zp(i1:i2),
      |                                1
Error: Rank mismatch between actual argument at (1) and actual argument at (2) (scalar and rank-1)

What's the status of our branch?

@robnagler
Copy link
Member Author

berkeleylab/warp complains, too:

 1430 |       call MPI_ALLREDUCE(data,data2,int(ndata,MPIISZ),MPI_DOUBLE_PRECISION,
      |                         2
......
 1671 |       call MPI_ALLREDUCE(data1,data2,int(1,MPIISZ),MPI_LOGICAL,MPI_LOR,
      |                         1
Error: Type mismatch between actual argument at (1) and actual argument at (2) (LOGICAL(4)/REAL(8)).
../../topparallel.F:556:26:

@robnagler
Copy link
Member Author

Unidata/netcdf-fortran#212 (comment) will fix it, probably

@ncook882
Copy link
Member

@robnagler I haven't built either in a while, but our fork shouldn't have different requirements from the Berkeley fork, AFAIK. @cchall have you built it recently?

@cchall
Copy link
Member

cchall commented Dec 19, 2020

I have not built Warp in quite a while

@robnagler
Copy link
Member Author

Fixes the build script: perl -pi -e 's{^FARGS.*}{FARGS=--farg -fallow-argument-mismatch}' Makefile.Forthon3 Makefile.Forthon3.pympi

This is for fedora 32, which uses gcc10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants