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

Included pairs file ignored #341

Open
riccile opened this issue Dec 15, 2021 · 7 comments · Fixed by #374
Open

Included pairs file ignored #341

riccile opened this issue Dec 15, 2021 · 7 comments · Fixed by #374

Comments

@riccile
Copy link

riccile commented Dec 15, 2021

Hi,
I am trying to run just a subset of pairs using an included pairs file but CS seems to be ignoring it.

In the attached files, I include only 3 pairs of the 11 nodes in the point file but when I run the code it says the total number of pair solves = 55 and starts computing all of them.

Any idea why I'm running into this issue? Thanks for your help!

Link:
https://drive.google.com/drive/folders/1xgvgebBcQy8eVHVd1KWPinilyHFq77Qb?usp=sharing

@mariesoret
Copy link

hi @ranjanan ,
I encountered the same problem as @riccile. I don't see how #374 solve this as I am not using polygons in points file.
I am using circuitscape with raster data on pairwise mode with a simple pair.txt file but when I run the job circuitscape compute all pairs regardless of the pair list.
link to my files : [(https://drive.google.com/drive/folders/1IjNFiCot8rpc3XkvfUqnMEKruPTygAE-?usp=sharing)]

@riccile
Copy link
Author

riccile commented Jan 5, 2023 via email

@ranjanan ranjanan reopened this Jan 5, 2023
@mariesoret
Copy link

HI, I try to run the same data with a distance matrix file instead of the pair list file and I have the same issue.
ao_exp_dist.txt

@ranjanan
Copy link
Member

ranjanan commented Jan 9, 2023

Thanks for bringing these up. @riccile thank you for that simpler clarifying example. I shall test with that.

@FaustiniG
Copy link

Hi, I have the same issue.
Did anyone solve the issue?

Previously I was running a raster circuitscape that had to solve 25425 pairs (between patches), and I got OutofMemory() error.

Thus I selected only some pairs between patches (2025), but circuitscape still run through all the pairs.

If I look at the .out file, it starts from the first patch in order of ID, not in order of rows.
I see that at each calculation, it calculates all the possible pairs from this first patch.

I also see that at every calculation, the last one is erased by the following one.
Probably only when it gets a pair that is present in the include.txt file, the output is recorded.
But I am not sure.

I hope it can help to find the problem.

@laurenthuber
Copy link

laurenthuber commented Sep 2, 2024

Hi, Same problem Circuiscape is computing 133903 pairs even having set the included pair file with 1345 pair listed. What happened?
Thanks a lot

@LLeiSong
Copy link

I think the problem is still there. Any updates or solutions to bypass this issue?

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

Successfully merging a pull request may close this issue.

6 participants