Creating an executable for Hydrus1D flow for NPD=2000
-
- Posts: 30
- Joined: Thu Dec 17, 2020 10:11 pm
- Location: USA
Creating an executable for Hydrus1D flow for NPD=2000
Dear all, I hope my email finds you well. I have a question. For a project, I need to increase the parameter NPD (number of printing time to 2000 from the default setting of 1000). From the Hydrus 1D source code, I noted I can do this by changing NPD to 2000 on lines 54 in the file HYDRUS.FOR. However, I'm not sure how to compile all the fortran programs together to create a single executable file that I can use to run my models. Would you please let me know if you have any suggestions? Thanks!
Sincerely,
Sincerely,
Re: Creating an executable for Hydrus1D flow for NPD=2000
For that, you should study/consult the user manual of the Fortran compiler that you use. J.
-
- Posts: 30
- Joined: Thu Dec 17, 2020 10:11 pm
- Location: USA
Re: Creating an executable for Hydrus1D flow for NPD=2000
Hi Jirka,
Thanks for your reply. I'm still having the same issue. I tried using the GNU fortran 77 compiler (v. 1999), but it gave me several error messages. Some of these messages are listed below. Is there any possibility to request your help with compiling the updated source code (I only changed the line # 54 in the HYDRUS.FOR file), as you have already done this for the other versions of the code? I'd really appreciate this favor.
Sincerely,
-----------------------------Error messages when compiling the Hydrus source code ---------------------------------
HYDRUS.for:1:
*||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||*
^
Statement at (^) begins with invalid token [info -f g77 M LEX]
HYDRUS.for:1:
*||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||*
^
Unrecognized character at (^) [info -f g77 M LEX]
HYDRUS.for:2:
* *
^
Statement at (^) begins with invalid token [info -f g77 M LEX]
HYDRUS.for:3:
* HYDRUS - Numerical model of one-dimensional variably saturated *
^
Statement at (^) begins with invalid token [info -f g77 M LEX]
HYDRUS.for:4:
* water flow, heat transport, and transport of solutes *
^
Statement at (^) begins with invalid token [info -f g77 M LEX]
HYDRUS.for:5:
* involved in sequential first-order decay reactions *
^
Statement at (^) begins with invalid token [info -f g77 M LEX]
HYDRUS.for:6:
* version 7.0 *
^
Statement at (^) begins with invalid token [info -f g77 M LEX]
HYDRUS.for:7:
* *
^
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Thanks for your reply. I'm still having the same issue. I tried using the GNU fortran 77 compiler (v. 1999), but it gave me several error messages. Some of these messages are listed below. Is there any possibility to request your help with compiling the updated source code (I only changed the line # 54 in the HYDRUS.FOR file), as you have already done this for the other versions of the code? I'd really appreciate this favor.
Sincerely,
-----------------------------Error messages when compiling the Hydrus source code ---------------------------------
HYDRUS.for:1:
*||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||*
^
Statement at (^) begins with invalid token [info -f g77 M LEX]
HYDRUS.for:1:
*||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||*
^
Unrecognized character at (^) [info -f g77 M LEX]
HYDRUS.for:2:
* *
^
Statement at (^) begins with invalid token [info -f g77 M LEX]
HYDRUS.for:3:
* HYDRUS - Numerical model of one-dimensional variably saturated *
^
Statement at (^) begins with invalid token [info -f g77 M LEX]
HYDRUS.for:4:
* water flow, heat transport, and transport of solutes *
^
Statement at (^) begins with invalid token [info -f g77 M LEX]
HYDRUS.for:5:
* involved in sequential first-order decay reactions *
^
Statement at (^) begins with invalid token [info -f g77 M LEX]
HYDRUS.for:6:
* version 7.0 *
^
Statement at (^) begins with invalid token [info -f g77 M LEX]
HYDRUS.for:7:
* *
^
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Re: Creating an executable for Hydrus1D flow for NPD=2000
I’m not familiar with this compiler. I’m using Intel Fortran Compiler from Microsoft Visual Studio. J.
-
- Posts: 30
- Joined: Thu Dec 17, 2020 10:11 pm
- Location: USA
Re: Creating an executable for Hydrus1D flow for NPD=2000
Hi Jirka, I don't have license to that software. Would you please let me know if I may request for a favor? If yes, would you please let me know if I may request a Hydrus1D executable with NPD set to 2000? I'd really appreciate this favor.
Thanks,
Ravindra
Thanks,
Ravindra
Re: Creating an executable for Hydrus1D flow for NPD=2000
We may allow it in the next version of the software. J..
-
- Posts: 30
- Joined: Thu Dec 17, 2020 10:11 pm
- Location: USA
Re: Creating an executable for Hydrus1D flow for NPD=2000
Thank you, Jirka. If you don’t mind, would you please let me know if I may suggest another potential item to include in any new version of Hydrus-1D? If yes, at present the code has option to print out head, vol. water content, flux at node-based observation points (when considering only water flow scenario). Thus, the code prints instantaneous values of various outputs at requested print time steps. However, if one wants to compute vol. water content from top to a nodal location, i.e., a vertically integrated value, at any time, then one has to go through the mass balance.out file. It would be really nice and useful to have an option to printer either instantaneous values or/both vertically integrated values of various of program outputs.
Sincerely,
Sincerely,
Re: Creating an executable for Hydrus1D flow for NPD=2000
We currently print at each time level the overall (over the entire soil profile) water storage into T_Level.out (not for different subregions). We will consider that. J.
Re: Creating an executable for Hydrus1D flow for NPD=2000
We currently print at each time level the overall (over the entire soil profile) water storage into T_Level.out (not for different subregions). We will consider that. J.
-
- Posts: 30
- Joined: Thu Dec 17, 2020 10:11 pm
- Location: USA
Re: Creating an executable for Hydrus1D flow for NPD=2000
Thank you, Jirka. I see that there is a column called Volumn in T_Level.out file that provides water volume information for the whole soil profile. I agree with you (thank you for considering my request) that a layer-by-layer water volume information in this file, if included, will be very useful too.
Sincerely,
Sincerely,
Re: Creating an executable for Hydrus1D flow for NPD=2000
We will allow up to 10,000 print times in the upcoming (April 1, 2022) version 5 of HYDRUS. J.
-
- Posts: 30
- Joined: Thu Dec 17, 2020 10:11 pm
- Location: USA
Re: Creating an executable for Hydrus1D flow for NPD=2000
Thank you, Jirka.
Sincerely,
Sincerely,
-
- Posts: 30
- Joined: Thu Dec 17, 2020 10:11 pm
- Location: USA
Re: Creating an executable for Hydrus1D flow for NPD=2000
Hi Jirka,
I hope you are doing well. Would you please let me know if the version 5 of Hydrus-1D is already released?
Sincerely,
I hope you are doing well. Would you please let me know if the version 5 of Hydrus-1D is already released?
Sincerely,
Re: Creating an executable for Hydrus1D flow for NPD=2000
Yes, it is. You can get info at:
https://www.pc-progress.com/en/Default.aspx?hydrus
https://www.pc-progress.com/en/Default. ... us-modules
https://www.pc-progress.com/en/Default. ... us-pricing
and order it at:
https://www.pc-progress.com/en/order.aspx
J.
https://www.pc-progress.com/en/Default.aspx?hydrus
https://www.pc-progress.com/en/Default. ... us-modules
https://www.pc-progress.com/en/Default. ... us-pricing
and order it at:
https://www.pc-progress.com/en/order.aspx
J.
-
- Posts: 30
- Joined: Thu Dec 17, 2020 10:11 pm
- Location: USA
Re: Creating an executable for Hydrus1D flow for NPD=2000
Thanks for the information, Jirka. I'm wondering if there are any updates to Hydrus-1D program (that is freely available to anyone) that includes the items you mentioned in the last message (e.g., NPD=10000). Would you please let me know?
Sincerely,
Sincerely,