|
Last change
on this file since 23390 was 23390, checked in by Mathieu Morlighem, 7 years ago |
|
CHG: added Archive/23185-23389
|
|
File size:
578 bytes
|
| Rev | Line | |
|---|
| [23390] | 1 | Index: ../trunk-jpl/src/c/classes/IoModel.cpp
|
|---|
| 2 | ===================================================================
|
|---|
| 3 | --- ../trunk-jpl/src/c/classes/IoModel.cpp (revision 23318)
|
|---|
| 4 | +++ ../trunk-jpl/src/c/classes/IoModel.cpp (revision 23319)
|
|---|
| 5 | @@ -2510,7 +2510,9 @@
|
|---|
| 6 |
|
|---|
| 7 | /*recover my_rank:*/
|
|---|
| 8 | my_rank=IssmComm::GetRank();
|
|---|
| 9 | - _assert_(strncmp(data_name,mddot,3)==0);
|
|---|
| 10 | + if(strncmp(data_name,mddot,3)!=0){
|
|---|
| 11 | + _error_("Cannot fetch \""<<data_name<<"\" does not start with \""<<mddot<<"\"");
|
|---|
| 12 | + }
|
|---|
| 13 |
|
|---|
| 14 | /*Go find in the binary file, the position of the data we want to fetch: */
|
|---|
| 15 | if(my_rank==0){
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.