-
Notifications
You must be signed in to change notification settings - Fork 15
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
Evolution to GALAHAD 5 #272
Conversation
@nimgould You forgot to push |
I added it. Did I need to? I am a bit lost as to where things are, what is mine and what has been created by you |
I just created an empty |
I can no longer commit, I get nothing added to commit but untracked files present (use "git add" to track) I tried a git pull, but that didn't help. Can we get rid of the old galahad5, or are we keeping that for anything? |
git status says On branch galahad5-nick Last command done (1 command done): So I seem to be on galahad5-nick but it is complaining about a rebase to galahad5. How do I stop the rebase, and is it this that is coonfusing everything?? |
% git pull |
(PS I tried to fix the broken galahad_modules.h, but it won't accept the push) |
(Fix the conflicts and add the files that have conflicts:
|
Git is really broken. I follow your instructions, update all of the compromised files, git rebase --continue, but then at the next commit, all the files I updated have conflicts reinserted. How do I get out of this endless loop? |
Despite using the git rebase origin/galahad5-nick command, it keeps doing things to galahad5 (no nick), and then complains that all of the changes I made are now conflicted again. I've been through the same cycle of fixing conflicts four times now, and I cannot see how this will ever converge |
This was my mistake, I missed the git checkout galahad5-nick, and all is now fine. How do I get it to run the actions? |
|
Thank you. I thought I'd done that, but obviously not. For some reason the build gives ./src/external/hsl/hsl_ma48/hsl_ma48r.f90:139:11: 738 But the earlier [656/2783] Compiling Fortran object libgalahad_single.so.p/meson-generated_single_symbols.f90.o should provide this module file. Is something missing in meson? |
That was my blunder, a programming bug that wasn't picked up locally. |
Another one, this looks like a meson issue, This is supposed to be a 32bit integer single compile, but the -DINTEGER_64 flag is being passed to the compiler gfortran -Ilibgalahad_single.so.p -I. -I.. -Iinclude -I../include -I../src/dum/include -I../src/metis/include -Isrc/ampl -I../src/ampl -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -O0 -g -fopenmp -fPIC -DSINGLE -DGALAHAD_BLAS -DGALAHAD_LAPACK -DDUMMY_SMUMPS -DDUMMY_MKL_PARDISO -DDUMMY_PARDISO -DDUMMY_PASTIXF -DDUMMY_SPMF -DDUMMY_WSMP -DDUMMY_MPI -DDUMMY_HSL -DINTEGER_64 -Jlibgalahad_single.so.p -o libgalahad_single.so.p/meson-generated_single_uls.f90.o -c libgalahad_single.so.p/single_uls.f90 |
Nick, you looked at a 64-bit integer build. But we have a similar issue with a 32-bit integer build, we have something wrong the preprocessed macros for HSL: |
How do we find what the compiler did when compiling hsl_ma57r.f90? what name was the resulting .mod file? |
@nimgould I found the culprit. It's because with |
New error: gfortran -Ilibgalahad_double.so.p -I. -I.. -Iinclude -I../include -I../src/dum/include -I../src/metis/include -Isrc/ampl -I../src/ampl -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -O0 -g -fopenmp -fPIC -DDOUBLE -DGALAHAD_BLAS -DGALAHAD_LAPACK -DDUMMY_DMUMPS -DDUMMY_MKL_PARDISO -DDUMMY_PARDISO -DDUMMY_PASTIXF -DDUMMY_SPMF -DDUMMY_WSMP -DDUMMY_MPI -DDUMMY_HSL -Jlibgalahad_double.so.p -o libgalahad_double.so.p/meson-generated_double_blas_interface.f90.o -c libgalahad_double.so.p/double_blas_interface.f90
../src/lapack/blas_interface.F90:40:10:
40 | DOUBLE PRECISION :: DNRM2
| 1
Error: Unclassifiable statement at (1)
../src/lapack/blas_interface.F90:51:31:
51 | SUBROUTINE SROTG( a, b, c, s )
| 1
......
57 | SUBROUTINE DROTG( a, b, c, s )
| 2
Error: Ambiguous interfaces in generic interface 'rotg' for ‘galahad_srotg’ at (1) and ‘galahad_drotg’ at (2) |
@nimgould Can we remove the folder |
Thanks for finding the include issue. I realised that it must be something like this in the middle of the night! Yes, we should simplify the hsl header files. The main complication is, of course, the dummy names you need for your build. I'll see what the blas_interface problem is and fix it. And, yes, it should be trivial to remove the explicit zd11. I will look Thanks for your help on this |
Unfortunately your fix to hsl_subset.h broke things here! I will recover and do it again. |
#define KB21GI GALAHAD_KB21GI_64 | ||
#define KB21HI GALAHAD_KB21HI_64 | ||
#define kb07ai galahad_kb07ai_64 | ||
#ifdef DUMMY_HSL |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@nimgould
I did an error here. This #ifdef
should be at line 648.
I am working on this at the moment, it is a bit of a mess! |
I believe that the issue you reported for blas_interface.F90 is that you are using the -DDOUBLE flag; unfortunately DOUBLE is a reserved keyword in C++; we are careful elsewhere not to use DOUBLE in any of the header files. See what happens if you remove this flag |
It fixed the issue with the.BLAS interface. |
I forgot to add a couple of local metis files, I have them at home and will commit from there. The last actions complained about not having mc23b, I need to check, again later |
We have the following error with the dummy
|
I probably already did!. |
It's not your fault Nick. Jari is the culprit! |
Is it not possible to tell giit to reapply those ones above? |
Can you try this command Nick? git checkout 64e0850ea5ef8af8b6860f11bb033df3156612da If it works then: git checkout -b nick-backup
git push |
The checkout seems to have all the changes I made. Right, I'll try your two commands. Wish me luck ... |
If it's not working, we can still go to the page Fortunately, GitHub keeps a copy of these commits somewhere. |
% git checkout -b nick-backup
Should I do that? |
Yes!!! |
Done. It looks ok % git push --set-upstream origin nick-backup
|
Of course, now I am completely lost. I will sit down on that small hill over there, and open a cold beer |
All modifications are on the branch master. The PR is merged. 😎 |
Hurrah! So I can now |
Yep yep |
Thank you so much, you are my hero of the hour, perhaps day |
You're welcome Nick! |
Of course, of course, you can correct as much as you like. Now I've lost that beer in the excitement |
Thank you both and please accept my sincere apologies. I have now fixed the README on the master branch. |
@amontoison can we kill the GitHub Pages build? No idea why that's running on master, docs are hosted from https://github.com/ralna/galahad_docs |
If you pay me a beer at Montréal during your visit for ISMP, I accept your apologies 😛 |
You're on, one of those famous American Pale Ales of yours 😜 |
I think that I killed the build. Let's see when a new commit will be added on |
Thanks @amontoison. @nimgould we seem to have an old stray |
Yes, indeed. Infact it is only a week old, it was from my failed attempt to host the fortran pdf docs from the galahad site. Fortunately, following Jari's suggestion, these are now on the galahad_docs site |
It will be gone at my next commit |
Nick: These are all of the preparatory changes for GALAHAD 5. The new edition has new interfaces to julia, and supports the optional multprecision HSL subset, along with other less significant changes.