-
Notifications
You must be signed in to change notification settings - Fork 0
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
Error while running make all #1
Comments
try running |
Hopefully Aviad's comment worked! When installing, |
Hi, I reinstalled hypre and provided the path as suggested in the Makefile. It worked. However, when I run the next step I get the following error |
Looks like HDF5 is unable to create a file. Can you confirm the directory |
Thanks, it works now.
Regards,
Sreehari
…On Thu, Jun 15, 2023 at 2:32 AM Daeyoung Lee ***@***.***> wrote:
Looks like HDF5 is unable to create a file. Can you confirm the directory
data exists? The arguments -output <dir> will attempt to write the output
to the directory <dir>. A list of all arguments and their function can be
found via ./general_xy -help.
—
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AQNK4ED4DHHQP4WPZWJLLGLXLJCXXANCNFSM6AAAAAAY5PCIOY>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Hi,
I want to generate inoisy data file with 256 snapshots each of 128 X 128
size.
Where do I specify these values?
Also, I require temporal correlation length of 1 M and
azimuthal correlation of 0.1.
How can I set these parameters?
Thanks and regards,
Sreehari
On Thu, Jun 15, 2023 at 11:14 AM Sreehari Harikesh ***@***.***>
wrote:
… Thanks, it works now.
Regards,
Sreehari
On Thu, Jun 15, 2023 at 2:32 AM Daeyoung Lee ***@***.***>
wrote:
> Looks like HDF5 is unable to create a file. Can you confirm the directory
> data exists? The arguments -output <dir> will attempt to write the
> output to the directory <dir>. A list of all arguments and their
> function can be found via ./general_xy -help.
>
> —
> Reply to this email directly, view it on GitHub
> <#1 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AQNK4ED4DHHQP4WPZWJLLGLXLJCXXANCNFSM6AAAAAAY5PCIOY>
> .
> You are receiving this because you authored the thread.Message ID:
> ***@***.***>
>
|
Due to the way it is set up, the coordinates For the correlation lengths and the azimuthal correlation, you would go into For example, if The parameters |
Hi,
Thanks for the reply. It was helpful. I could get the desired output using
mpirun -np 8 general_xy -ni 32 -nj 64 -nk 256 -solver 1 -pgrid 4 2 1
-output data
If I require temporal correlation of 1 M is it sufficient to return 1 from
corr_time function?
Also, how can I set azimuthal correlation length to a specific value (say
0.1) ?
As there are two values lam1 and lam2, how are they related to azimuthal
correlation length?
Thanks and regards,
Sreehari
…On Fri, Jun 30, 2023 at 11:39 PM Daeyoung Lee ***@***.***> wrote:
Due to the way it is set up, the coordinates (t,x,y) have indices (k,j,i),
so you would specify -nk 256 -nj 128 -ni 128 in the arguments when
running (or you can simply do -n 128 -nk 256).
For the correlation lengths and the azimuthal correlation, you would go
into src/param_general_xy.c and adjust the parameters and functions. The
parameters param_lam, param_tau, etc. are set at the top, but you can
build in the spatiotemporal correlations that you would like in the
functions corr_length and corr_time.
For example, if param_lam = 5 (ostensibly in M, but really in arbitrary
code units), you can specify in corr_length that the correlation length
should just be equal to param_lam, or for it to scale as param_lam * r,
or any other function that you desire, though more pathological functions
may result in slow convergence or a failure to converge.
The parameters param_lam, etc. are set up so that it is possible to
change the length of the correlation at runtime by reading in a parameter
file, while keeping the form of the correlation fixed in the function
corr_length/time. The parameter file to read in can be specified via -params
<file>.
—
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AQNK4EAEZHXFRY33Q7F2OF3XN42OVANCNFSM6AAAAAAY5PCIOY>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
It should be sufficient to return 1, or return You can view the spatial correlation as described by an ellipse at each point. |
Thank you for the clarification.
…On Thu, Jul 6, 2023 at 12:41 AM Daeyoung Lee ***@***.***> wrote:
It should be sufficient to return 1, or return param_tau and set param_tau
to 1.
You can view the spatial correlation as described by an ellipse at each
point. lam1 is the length of the major axis of this ellipse, lam2 is the
length of the minor axis. and theta is the rotation of this ellipse,
usually set to be oriented in the direction of the pitch angle. The
azimuthal correlation will be some function of these parameters, which can
be worked out geometrically.
—
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AQNK4EFRIWCEOIQTUNU2HHDXOXNPTANCNFSM6AAAAAAY5PCIOY>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Hi,
By default, the time resolution of inoisy snapshots is (1 M), right?
How can I improve it to say 0.5 M?
Which variable is to be changed to obtain a better resolution?
Thanks and regards,
Sreehari
On Thu, Jul 6, 2023 at 8:58 PM Sreehari Harikesh ***@***.***>
wrote:
… Thank you for the clarification.
On Thu, Jul 6, 2023 at 12:41 AM Daeyoung Lee ***@***.***>
wrote:
> It should be sufficient to return 1, or return param_tau and set
> param_tau to 1.
>
> You can view the spatial correlation as described by an ellipse at each
> point. lam1 is the length of the major axis of this ellipse, lam2 is the
> length of the minor axis. and theta is the rotation of this ellipse,
> usually set to be oriented in the direction of the pitch angle. The
> azimuthal correlation will be some function of these parameters, which can
> be worked out geometrically.
>
> —
> Reply to this email directly, view it on GitHub
> <#1 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AQNK4EFRIWCEOIQTUNU2HHDXOXNPTANCNFSM6AAAAAAY5PCIOY>
> .
> You are receiving this because you authored the thread.Message ID:
> ***@***.***>
>
|
The total time duration is set in the |
Thanks for the reply.
…On Wed, 3 Jan, 2024, 4:44 am Daeyoung Lee, ***@***.***> wrote:
The total time duration is set in the param file as param_x0start and
param_x0end, in terms of M, and the number of timesteps is set on runtime
using the flag -nk <number>. So the time resolution will be (x0end -
x0start) / (# timesteps), set by those parameters.
—
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AQNK4EEBJUQXVBSAN75OCDLYMSIEDAVCNFSM6AAAAAAY5PCIO2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZUGY3TGNZUG4>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Hi,
When I generate inoisy snapshots with different resolutions, for example 1M
and 0.5M.
The first 3 snapshots of either resolution are identical.
This means the snapshots at times 0, 1M and 2M (at resolution 1M) are the
same as the snapshots
at 0, 0.5M and 1M (at 0.5M resolution). This causes problems on further
processing. How can I correct this?
Sreehari
On Wed, Jan 3, 2024 at 8:59 AM Sreehari Harikesh ***@***.***>
wrote:
… Thanks for the reply.
On Wed, 3 Jan, 2024, 4:44 am Daeyoung Lee, ***@***.***>
wrote:
> The total time duration is set in the param file as param_x0start and
> param_x0end, in terms of M, and the number of timesteps is set on
> runtime using the flag -nk <number>. So the time resolution will be (x0end
> - x0start) / (# timesteps), set by those parameters.
>
> —
> Reply to this email directly, view it on GitHub
> <#1 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AQNK4EEBJUQXVBSAN75OCDLYMSIEDAVCNFSM6AAAAAAY5PCIO2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZUGY3TGNZUG4>
> .
> You are receiving this because you authored the thread.Message ID:
> ***@***.***>
>
|
It depends on what you're trying to get out. The random field in If it is okay to have completely different realizations for each run, you can simply set If the runs need to look "similar", it would require a bit more surgery. |
Hi,
Thanks for the reply. I am generating light curves from inoisy snapshots
using ray tracing code.
I think if I change only the time resolution from 1M to 0.5M, I should
still get the same lightcurve but with better resolution.
So, I expect the snapshots at 0M, 0.5M, 1M etc to evolve with time such
that the snapshots at integer M times match in both resolutions.
I want to check that the lightcurves generated at different resolutions are
consistent.
Please suggest how to proceed.
Thanks and regards,
Sreehari
…On Wed, Jan 17, 2024 at 1:15 AM Daeyoung Lee ***@***.***> wrote:
It depends on what you're trying to get out. The random field in inoisy
is generated from a white noise process whose seed is set by the
environment variable GSL_RNG_SEED. If this is not changed, both runs will
receive the same white noise, so regardless of the temporal resolution the
first three snapshots will be very similar.
If it is okay to have completely different realizations for each run, you
can simply set GSL_RNG_SEED=<seed number> before every run or just
randomize it as you run inoisy, for example like:
GSL_RNG_SEED=${RANDOM} mpiexec -n 4 ./general_xy -n 64 -nk 128 -pgrid 1 1 4
If the runs need to look "similar", it would require a bit more surgery.
inoisy has the ability to read in an input source term. For example, you
could generate a white noise process at 0M, 1M, 2M, etc., shared between
the two runs, and add in more white noise components at 0.5M, 1.5M, 2.5M,
etc. for the run with finer temporal resolution. Because these components
are independent, this is still a valid source field, except that now these
two runs are no longer independent. (This does not mean that these runs
will be identical on the integer M steps, since the resulting GRF is a
solution over the entire source field.)
—
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AQNK4EEZKKQLKWUPYPKM7Q3YO3KF3AVCNFSM6AAAAAAY5PCIO2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOJUGQYDENZSG4>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
I could think of a few ways to approach this. The simplest way would be to just generate a single run at a cadence of 0.5M, from which you could take every other timestep to artificially get a lower temporal resolution. Generating a source field that matches at integer M times, which I mentioned earlier, would generate two runs that are similar at those times, but not identical. If this is alright, creating a python script to do this should be relatively straightforward. If a light curve is all that is needed, simply generating them (or interpolating, depending on the exact details of the problem) with standard methods for Gaussian processes seems like a reasonable solution as well. In the end, |
Thank you for the reply. The first method seems to be working fine.
Thanks and regards,
Sreehari
…On Tue, Jan 23, 2024 at 12:39 AM Daeyoung Lee ***@***.***> wrote:
I could think of a few ways to approach this. The simplest way would be to
just generate a single run at a cadence of 0.5M, from which you could take
every other timestep to artificially get a lower temporal resolution.
Generating a source field that matches at integer M times, which I
mentioned earlier, would generate two runs that are similar at those times,
but not identical. If this is alright, creating a python script to do this
should be relatively straightforward.
If a light curve is all that is needed, simply generating them (or
interpolating, depending on the exact details of the problem) with standard
methods for Gaussian processes seems like a reasonable solution as well. In
the end, inoisy generates a Gaussian random field, and a light curve
generated from a GRF will still be a Gaussian process, though with an
unknown covariance function.
—
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AQNK4EEOYJHQSSVVXRB5NC3YP22PPAVCNFSM6AAAAAAY5PCIO2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMBUGYZTINRVGA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Hi,
I have installed hypre, mpi and hdf5. hypre is installed in usr/local/hypre.
However, when I run 'make all' from inoisy directory it shows the following
"
HYPRE_DIR not defined, trying 'usr/local/hypre'
h5pcc -g -Wall -Iusr/local/hypre/include -I/home/sreehari/Installers/inoisy/include -DHAVE_CONFIG_H -DHYPRE_TIMING -c /home/sreehari/Installers/inoisy/src/main.c -o /home/sreehari/Installers/inoisy/obj/main.o
/home/sreehari/Installers/inoisy/src/main.c:21:10: fatal error: _hypre_utilities.h: No such file or directory
21 | #include "_hypre_utilities.h"
| ^~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:37: /home/sreehari/Installers/inoisy/obj/main.o] Error 1
"
When I specify full path for #include "_hypre_utilities.h" within the file main.c it shows
"fatal error: HYPRE_config.h: No such file or directory"
How can I solve this issue?
Thanks and regards,
Sreehari
The text was updated successfully, but these errors were encountered: